+1
We have been making progress on updating the OneSignal Corona SDK to support Android Oreo this week. Depending how it progresses it should be released in about a week or 2 from now.
Now = 06 Sept 2018 = 3 weeks?
@Josh No news?
Also need an update on this. So many crashes happening over the last couple months because of this
Sorry for the delay, we have released an updated to fix this Android Oreo (8.0) compatibility issue! It will be used when using Corona 2018.3326 or newer.
Thanks Josh!
Thanks Josh!
When i try to install apk i got: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
Builded by Corona SDK version 2018.3326 (2018.6.25) and 2018.3381 (2018.9.22)
FYI - We were able to rebuild using Corona 2018.3335 and install the APK on an S8 running Oreo 8.0.0. We also ran a test msg that went through. So, it seems to be working for us.
Thanks @josh_OneSignal!
Now i can install apk but when i try to run i got error:
09-28 12:11:17.253 22376 22408 V Corona : > Class.forName: OneSignal.LuaLoader
09-28 12:11:17.253 22376 22408 I Corona : WARNING: Could not load class ‘OneSignal.LuaLoader’
09-28 12:11:17.255 22376 22408 I Corona : ERROR: Runtime error
09-28 12:11:17.255 22376 22408 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:913: module ‘OneSignal’ not found:resource (OneSignal.lu) does not exist in archive
09-28 12:11:17.255 22376 22408 I Corona : no field package.preload[‘OneSignal’]
09-28 12:11:17.255 22376 22408 I Corona : no file ‘(null)/OneSignal.lua’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘(null)/OneSignal.lua’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘/data/app/ru.gmsoft.magazines.skanword_zaika_moya-2/lib/arm/libOneSignal.so’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘./OneSignal.so’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘(null)/OneSignal.so’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘/data/app/ru.gmsoft.magazines.skanword_zaika_moya-2/lib/arm/libOneSignal.so’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘./OneSignal.so’
09-28 12:11:17.255 22376 22408 I Corona : no file ‘(null)/OneSignal.so’
09-28 12:11:17.255 22376 22408 I Corona : stack traceback:
09-28 12:11:17.255 22376 22408 I Corona : [C]: in function ‘require’
09-28 12:11:17.255 22376 22408 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:913: in function ‘require’
09-28 12:11:17.255 22376 22408 I Corona : /Users/Kasten/Documents/OneSignal/GameThrive/SDK/Corona/SDK/android/…/shared/plugin_OneSignal.lua:17: in main chunk
09-28 12:11:17.255 22376 22408 I Corona : [C]: ?
09-28 12:11:17.255 22376 22408 I Corona : [C]: in function ‘require’
09-28 12:11:17.255 22376 22408 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:913: in function ‘require’
09-28 12:11:17.255 22376 22408 I Corona : ?: in main
I spoke too soon. It looks like my latest build from a few hours ago, and also the build that I just tried now have the same error. Something about the build is broken, but I don’t see any error messages during the build process itself.
Earlier today it was working…
@josh_OneSignal - can you help?
But, in the market, the plugin it’s not updated? I have the problem when install apk.
“OneSignal.lua does not exist in archive” ( View Attached file )
CORONA BUILD Corona 2018.3386
https://marketplace.coronalabs.com/corona-plugins/onesignal
Last updated
Apr 03 2018
I have tested another version of Corona build (Corona-2018.3325) and now the app crash when opened!!!
Sorry for the recent issues. We made a 2nd package rename to Java classes part of our plugin to fix the INSTALL_PARSE_FAILED_MANIFEST_MALFORMED error some of you were seeing on Android 4.x devices. However it caused the the entry point of our SDK to no longer be found by Corona as it was looking for the original name. Causing the “Could not load class ‘OneSignal.LuaLoader’” error.
We put back our Java package names for our .java files which will fix both these issues. This is just a pathing of our files, all changes we made for Android Oreo are still part of the release.
We just pushed a release so it should be available in the next few hours. Thanks for your patience!
Hello again.
The fix from josh_OneSignal helped me. But i alse have another error in google play console. It is partially similar to the error from this topic.It also occurs only in the android 8. It appears along with an error from this topic.
Is it possible that this error is related to OneSignal?
Or can someone faced with this problem and has a solution?
java.lang.IllegalStateException android.app.ContextImpl.startServiceCommon java.lang.RuntimeException: at android.app.ActivityThread.handleReceiver (ActivityThread.java:3399) at android.app.ActivityThread.-wrap18 (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1780) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6940) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374) Caused by: java.lang.IllegalStateException: at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1538) at android.app.ContextImpl.startService (ContextImpl.java:1484) at android.content.ContextWrapper.startService (ContextWrapper.java:663) at android.content.ContextWrapper.startService (ContextWrapper.java:663) at com.ansca.corona.SystemStartupBroadcastReceiver.onReceive (SystemStartupBroadcastReceiver.java:29) at android.app.ActivityThread.handleReceiver (ActivityThread.java:3392)
I get the same error. Pretty sure it’s onesignal since I can see the spike on the play dashboard on the days I send out push notifications. Also seems to happen on Samsung devices more often.
@zdmitrynsk The crash contains the Corona Notifications plugin not OneSignal so this is something they will need to look into.
at com.ansca.corona.SystemStartupBroadcastReceiver.onReceive (SystemStartupBroadcastReceiver.java:29)
@Rob Miracle Any ideas what is causing the crash here? Looks like Corona this is from boot up? Maybe from a android.intent.action.BOOT_COMPLETED event?
I’ll ask Engineering.