I have cordova based framework7 v2 app.
Routes work when:
- in a browser (dev machine – win 10)
- in a browser (dev machine – macOS HS)
- in a browser, running on macOS simulator browser
Routes Fail:
- iOS Compiled App
There are multiple Links on the index.html page, 3 's going to index.html, motd.html and search.html. None of them work in App. I have 3 other links, which open a popup and 2 popovers – they work. It doesn’t matter the location, navbar main body, sidebar etc.
Am I missing something in my config or a security thing?
I have a simple route:
routes = [
{
path: ‘/’,
url: ‘./index.html’,
},
{
path: ‘/search/’,
url: ‘./pages/search.html’,
},
{
path: ‘(.*)’,
url: ‘./pages/404.html’,
},
];
index.html
has:
document_text
Search
with popups and popovers tied to links as well.
app.js
has:
// Dom7
var $$ = Dom7;
// Framework7 App main instance
var MyApp = new Framework7({
root: ‘#app’, // App root element
id: ‘com.zzz.zzz’,
name: ‘zzzzzz’,
theme: ‘ios’,