Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nativescript-onesignal plugin is failing with Java no class found errors #555

Open
neshonohma opened this issue Dec 7, 2023 · 2 comments

Comments

@neshonohma
Copy link

I have followed the instruction provided in your documentation to use the plugin but it fails with the following errors:
While calling the NSOneSignal.getInstance().init method the error is:
Error: java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;

While calling the NativeOneSignal object methods the error is:
Error: java.lang.NoClassDefFoundError: com.onesignal.OneSignal

Is there something that needs to be done besides what's provided in the documentation?
https://market.nativescript.org/plugins/@rwigo/nativescript-onesignal/

@CatchABus
Copy link
Contributor

@neshonohma This plugin does not belong to NativeScript organization. It seems the author left the default github repo url when he/she created the plugin.

@neshonohma
Copy link
Author

@CatchABus No wonder it didn't work, thank you for letting me know.
There are a few nativescript plugins but they all are for onesignal 3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants