867 questions
0
votes
0
answers
40
views
Hardware Back Button in Cordova Framework7 App
I am developing a tutorial app using the Cordova Framework7 framework. When I build the APK and test it on my mobile device, I encounter an issue where clicking the back button closes the app. I would ...
0
votes
1
answer
214
views
Framework7 Core with bundler (Vite) build on Capacitor cannot work on Android
I created a sample package with source code by using command "framework7 create --ui", then generate couples of files and folders and load them on VScode. The package is built at the ...
0
votes
1
answer
284
views
Meteor/Vue/Framework7: No style being used
I am using Framework7 with meteor and vue and I have included framework7 like this in my main.js:
import { Meteor } from 'meteor/meteor';
import { createApp } from 'vue';
import { VueMeteor } from '...
0
votes
2
answers
112
views
How to create links to sections within your webpage using Framework7
I am familiar with the classic method of linking to sections on your webpage, whereby the anchor tag is made to point to some elements id within the page, like this sample
<div class="main&...
0
votes
0
answers
53
views
How can point my framework7-cordova based app to an external API?
I have been trying to connect my app to an API in my cordova app. But every time I build the apk and run it, it just doesn't seem to get any requests through.
I tried adding
<allow-navigation href=&...
0
votes
1
answer
109
views
How to link HTML page to JavaScript file in Framework7
I am new in framework7 I want to link my html page with Javascript file
this is how my html file looks like:
<div class="page-content" id="details-form">
<div class=...
0
votes
1
answer
185
views
How to display leaflet map in framework7?
I’m using Framework7 v. 5.5.1 and Leaflet 1.9.3 (https://leafletjs.com/),
I couldn’t show the map correctly.
I have to use the map on two different pages.
On the first page, I have to view it in full ...
1
vote
1
answer
243
views
Userlogin and maintaining session in Framework7 mobile web app
I am developing a Framework7 mobile web app, I want to let the user login, now since i am using the WebApi to authenticate the user, i am confused as to how to store the user session. Like in ASP.Net ...
0
votes
1
answer
125
views
Framework7 js Bundle disables the ajax Function
I am trying to migrate my app from plain HTML to framework 7, everything was going well until I noticed that the ajax requests were not being executed since they resulted in an error
Uncaught ...
1
vote
2
answers
660
views
module not found: Error: cant resolve 'framework7/lite-bundle'
I'm usuing framework7 in my projetc, I hae installed the latest version but when I import it in my index.js i get this error
Uncaught Error: Cannot find module 'framework7/lite-bundle'
...
3
votes
3
answers
4k
views
Can't submit Cordova app to the Play Store - (Your app currently targets API level 30 and must target at least API level 31)
I'm attempting to submit a Cordova app (That's built using Framework7) to the Google Play Store, but I'm getting the message "Your app currently targets API level 30 and must target at least API ...
1
vote
0
answers
607
views
Set view to current location by clicking button
I have a project using React, react-leaflet and Framework 7. In one component I have a Fab-Button from Framework 7 and a Map from react-leaflet. My Map.jsx component looks like this:
import React, ...
0
votes
0
answers
2k
views
xcodebuild: Command failed with exit code 65 (Cordova)
I created an app based on Framework7 using cordova
But when compiling, an error occurs after the command
sudo cordova build ios
Error:
** BUILD FAILED **
The following build commands failed:
...
0
votes
4
answers
382
views
Framework7 frustration
I am beginner of F7. Everything goes well until the installation of F7 but when I run the command "Framework7 create" it says Framework7 is not recognized as internal command or operable.
...
1
vote
0
answers
495
views
Cordova Android app POST request return status 0
I hope this will not be marked as duplicate, since I can't find the answer anywhere.
The main problem here is that my cordova android application returns status 0.
I created a simple android app that ...
0
votes
0
answers
2k
views
E.apply is not a function when i click
On framework7 i get the
e.apply is not a function
error, when i click on a “onclick” fuction.
<a href="#" onclick="loginpw()" class="">Log In</a>
function ...
1
vote
2
answers
604
views
How to access URL parameters inside script tag in framework7
I am using the latest version of Framework7. And this is what I am trying to do:
In my route.js
{
path: '/guest_course/:id/',
componentUrl: './pages/course-detail-guest.html',
},
In my .html ...
1
vote
1
answer
312
views
android webview goes blank in PWA frameworks
i have an app that use webview for interface. i want to use PWA frameworks such as Onsen UI or Framework7. these frameworks working well in local browser but not in webview.
in webview every thing ...
0
votes
1
answer
165
views
Framework7: how to get HTML of all pages?
I'm using Framework7 which is great. I need to parse innerHTML of all of my pages in runtime. How can I obtain HTML for page different than a current one?
I was trying to make use of router, routes ...
1
vote
0
answers
208
views
framework7 react - switch tab programmatically
i am used this example project as template
https://github.com/codivoire/cordova-framework7-react
Now, i created a page with tabs and inside tab 1 i have one button.
I try this: When i click on the ...
0
votes
3
answers
2k
views
Convert string to time and add 2 hours in JS
i get this time from an external JSON :
"time":"19:45"
I need to add 2 hours from this string.
Is it possible in JS?
Thanks
0
votes
1
answer
184
views
Error installing framework7 to cordova with Npm
I'm trying to install framework7 on ubuntu 18.04.
The node version is: v10.24.1
and the Npm is: 6.14.12
the erro:
npm ERR! Linux 4.15.0-154-generic
npm ERR! argv "/usr/bin/node" "/usr/...
0
votes
0
answers
22
views
Get value from function that returns a Promise [duplicate]
I'm trying to get a value of a function on Framework7, without sucess, since it returns a promise
My function:
function get_coordinates_by_address(address){
app.request.json('https://nominatim....
0
votes
1
answer
297
views
Animate hide and show on Framework7
I’m trying animate the hide and show of a “scroll to top” button dynamically inserted
$('.content').append('<button id="scroll_to_top_btn" title="Go to top"><i class="...
0
votes
1
answer
317
views
Framework7 Toggle with confirmation before change
I want to create a toggle with Framework7, where the user should confirm before the toggle is turned off (and only when turned off, not when turned on - maybe this is relevant). My toggle is created ...