slack-digest/2021-04-01.md
Thu, 01 Apr 2021 08:24:18 GMT
Join the conversation at slack.cordova.io
Wed, 31 Mar 2021 09:25:53 GMT
@hugo.bayet says
I need to write a Cordova plugin for Android that uses a particular SDK. This is how the SDK it's supposed to be used in native Android:
publicprivate Foo mService; private ServiceConnection mConnection; private boolean isConnect = false; @Override protected void onCreate(Bundle savedInstanceState) { if(mConnection == null) mConnection = new ServiceConnection() { @Override public void onServiceConnected(ComponentName className, IBinder service) { mService = Foo.bar(service); isConnect=true; } }; //... }``` How can I translate this to a Cordova plugin, since `onCreate` is not available in `CordovaPlugin.java` ?
Wed, 31 Mar 2021 09:38:57 GMT
@fb_bcy says
Hi
Wed, 31 Mar 2021 09:39:45 GMT
@fb_bcy says
is it possible to get script from internet?
Wed, 31 Mar 2021 09:40:36 GMT
@fb_bcy says
I want to load js file from the internet
Wed, 31 Mar 2021 09:40:59 GMT
@fb_bcy says
Does ios allow this?
Wed, 31 Mar 2021 11:39:05 GMT
@ara says
@hugo.bayet I think you need to extend CordovaActivity
Wed, 31 Mar 2021 11:40:41 GMT
@ara says
But I do not use CordovaActivity, but CordovaWebView in a fragment
Wed, 31 Mar 2021 13:03:19 GMT
@patrick662 says
For all you that update and support Cordova, I just wanted to extend a big Thank You. I hope we can keep this platform going for years. 🙂🙌
Thu, 01 Apr 2021 06:06:21 GMT
@frohman479 says
Hi all. Does cordova-ios support apple M1? Today i switch to macbook M1 just for test, and fail to build cordova-plugin-firebasex. Is there any official information about M1?