Framework7 and cordova run android problem

This is my index.html file

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">

  <meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">

  <meta name="theme-color" content="#df3826">
  <meta name="format-detection" content="telephone=no">
  <meta name="msapplication-tap-highlight" content="no">
  <title>Livekampus</title>
  
  
  
  
  <!-- built styles file will be auto injected -->
</head>
<body>
  <div id="app"></div>
  <% if (process.env.TARGET === 'cordova') { %>
  <script src="cordova.js"></script>
  <% } %>
  <!-- built script files will be auto injected -->
</body>
</html>

send me ur email address so I share the whole repo with you

just thend the repo url via pm

Hi sir,
it’s a bitbucket hosted app. I will need ur username or email to send the app to you please.

i just send you my user via pm

The easiest way to debug it is to open chrome://inspect in desktop chrome when app is running in simulator and check the errors there

1 Like

Interesting enough… I’ve added the assets through framework7 and now works properly…

ok…I will try this out

Hi please can you elaborate on this.

What assets and what command did u use to run the app in terminal?

Cheers!!!

Hi @nolimits4web I have done as you suggested and this is the error iI see.

07%20PM

I don’t really know where to debug from.

My emulator is on Andriod Marshmallow 6.0

Use emulator with at least Android 8

Ok. I will try that now and revert.

Hi @nolimits4web

This worked pretty well, am very grateful for the direction.

But what does this mean?

Is it that customers with android version 7.0 and below can’t use this app? Can you advice me on this.

Thanks

It is not predictable, if they have android 5 and latest chrome then will work. If they have android 8 with some custom vendor browser then :man_shrugging:t3:

Ah…I see.

is there a way around it at the moment or it’s something to work on in the future? Because businesses can lose potential customers especially in developing countries where internet penetration is a bit low and apps (like chrome browser etc) are rarely updated.

Cheers!!!

We can’t do anything with it, it is out of F7 scope. Targeting your app with Android 7+ you should be safe enough

Alright. Thanks for your help.

Cheers!!!

Please what editor is this? And how did you get that emulator to display?