EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 367 forks source link

Where should LaunchMyApp.js be placed for PhoneGap Build? #217

Closed andersborgabiro closed 7 years ago

andersborgabiro commented 7 years ago

It says "The LaunchMyApp.js file is brought in automatically" for PhoneGap Build.

As I don't invoke it explicitly with "" where should I put it? There's no plugin folder when using PGB, so it has to be stored some place else.

The plugin doesn't work in Android, so I suspect LaunchMyApp.js is not found. The plugin works fine with iOS, but in that case LaunchMyApp.js doesn't do anything anyway.

Thanks in advance, Anders

andersborgabiro commented 7 years ago

It's assumed to be here: file:///android_asset/www/js/LaunchMyApp.js, but it doesn't exist.

andersborgabiro commented 7 years ago

My mistake: The plugin will/shall invoke the one in the plugin. Still doesn't work on Android, but I've seen others having reported that.