Marius

Results 31 comments of Marius

I have the same Issue. I also was able to fix it using `cordova-plugin-androidx-adapter`. But there is another plugin called [cordova-androidx-build](https://github.com/wf9a5m75/cordova-androidx-build) which was built by @wf9a5m75 who also built `cordova-plugin-googlemaps`....

Also `tslint` which is deprecated should be replaced by a similar tool. This was also mentioned here: https://github.com/mgechev/codelyzer/issues/763 :) https://github.com/mgechev/codelyzer/blob/0b2e233457cbf3d326ac6138e5329138561b10ce/package.json#L94

Having the same problem on a Ionic Capacitor App on Android: ``` Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'digest') TypeError: Cannot read properties of undefined...

Would be nice if we could use [Capacitor Preferences](https://github.com/ionic-team/capacitor-plugins/tree/main/preferences) or [Capacitior Secure Storage](https://github.com/martinkasa/capacitor-secure-storage-plugin) to store Access Token securely.

The team's official explanation is that Capacitor cookies should not be used because they are only intended for the web: https://forum.ionicframework.com/t/cookies-vs-preferences-what-is-more-persistent/236820/4?u=mariusbolik

I can confirm this Issue! I wondered why my app didn't launch and the splash screen didn't disappear. It's really important for me that the function resolves correctly, so I...

Was this error fixed in [v5.0.3](https://github.com/OneSignal/OneSignal-Cordova-SDK/releases/tag/5.0.3) (#936)?

Sorry for the late response! > @mariusbolik It seems the data isn't being serialized into a JSON on the client side. Have you tried running it thru `JSON.stringify()` This happens...

On Ionic / Angular you can add the following line before the OneSignal Plugin Initialization: ```ts await this.platform.ready(); ``` This also seems to fix the error!