Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49247

How do I export my Ionic + Angular app to Android 7.1? I have a custom Cap Plugin too!

$
0
0

I was searching far and wide for this, and I hope that the only problem here are my googling skills.

I have 2 physical devices:

  1. A Redmi Note 8 with the latest (so far) Android Version,
  2. A Device that has Android 7.1.1 with WebView 52 inside it.

I also developed a custom Capacitor plugin in Java.

I ran my app through the Android Studio runner onto my Redmi Note 8 device (connected by a USB to Type-C cable), and both the app and the plugin ran well.

I tried the same with my 2nd device (connected by a USB to Micro USB cable), and I got the white screen. Why didn’t the code compile properly to accomodate for the lesser version?

I suspect that my ES6 modules weren’t compiled for the ES5 somewhere along the way, but I wasn’t able to find anything!

I am at the point where I’m considering switching to NativeScript because a close associate of my showed me that he was able to use NativeScript both on his Android (w/ latest version) and a second Android device that has Android 6.1.

I hope that someone helps me with this, or just points me at the right direction… Thanks!

My hope is that I don’t need to rewrite my app from scratch in an older version, but rather that the compiler somehow does it for me…

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>