slack-digest/2020-09-16.md
Wed, 16 Sep 2020 08:24:31 GMT
Join the conversation at slack.cordova.io
Tue, 15 Sep 2020 08:44:50 GMT
@jcesarmobile says
Remove the platform and add it again, looks like plugin files got missing or didn’t install correctly
Tue, 15 Sep 2020 12:12:09 GMT
@abul.asar22 says
As per
cordova-plugin-deviceplugin documentation I can seedevice.platformto detect the platform. I our codebase we are usingwindow.device.platform. That works both on web and mobile apps. Willdevice.platformgoing to work on web app ?
Tue, 15 Sep 2020 12:50:05 GMT
@erisu says
you can use
window.device.platform.
Tue, 15 Sep 2020 13:02:58 GMT
@abul.asar22 says
Right now
window.deviceis giving undefined.
Tue, 15 Sep 2020 13:07:38 GMT
@norman137 says
Are you waiting for the
devicereadyevent?
Tue, 15 Sep 2020 13:25:40 GMT
@wehe says
try to remove all plugins and then add them again - and make sure you waited for
deviceready
Wed, 16 Sep 2020 02:54:17 GMT
@arosen says
Hi, wondering if someone can point me in the right direction for how to integrate apple pay with Auto-Renewable Subscription?
Tue, 15 Sep 2020 12:41:38 GMT
@matthias.andrasch says
Hey everyone, I have a phonegap specific question, but I hope somebody here knows something about it 🙂 (I searched via slack search, but did not find a reply)
Google Play announced a new API limit "From 2 November 2020, app updates must target Android 10 (API level 29) or higher." https://developer.android.com/distribute/best-practices/develop/target-sdk.html
Phonegap only was updated to Cordova-9.0.0, which uses Android API level 28 if I understand it correctly: https://github.com/phonegap/phonegap-cli/releases
Is it still possible to use Phonegap(-cli), update to API level 29 and build it locally (via Android Studio)? Thanks very much in advance!
Tue, 15 Sep 2020 12:51:08 GMT
@jcesarmobile says
The api level is in cordova-android, not the cli
Tue, 15 Sep 2020 12:51:16 GMT
@jcesarmobile says
Use cordova-android 9
Tue, 15 Sep 2020 12:51:36 GMT
@jcesarmobile says
But there are no reasons for using phonegap cli, use cordova cli