When i launch the build apk i have an error which indicates that onesignal class is not found. Is there some modifications to integrate OneSignal plugin from Corona on Android Studio ?
I’m going to move this to the OneSignal forum.
Rob
Thx Rob,
Can you keep me informed
Solution found, file libplugin.OneSignal.so in jnLibs was erased by task in build.gradle :
task copyCoronaNativeLibs(type: Copy, description: 'include precompiled libraries from Corona Enterprise') { from fileTree(dir: "$coronaEnterpriseAndroidLibDir/libs", include: '\*\*/\*.so') into "$jniLibsDir" dependsOn 'copyCoronaResources' doFirst { println '== copyCoronaNativeLibs ==' } }
A solution was to put the file libplugin.OneSignal.so in /Corona/android/lib/Corona/libs
I’m going to move this to the OneSignal forum.
Rob
Thx Rob,
Can you keep me informed
Solution found, file libplugin.OneSignal.so in jnLibs was erased by task in build.gradle :
task copyCoronaNativeLibs(type: Copy, description: 'include precompiled libraries from Corona Enterprise') { from fileTree(dir: "$coronaEnterpriseAndroidLibDir/libs", include: '\*\*/\*.so') into "$jniLibsDir" dependsOn 'copyCoronaResources' doFirst { println '== copyCoronaNativeLibs ==' } }
A solution was to put the file libplugin.OneSignal.so in /Corona/android/lib/Corona/libs