Closed leonardofalk closed 4 years ago
Hi, can you please test this rhodes gem for rebuild your application and retest case ? https://s3.amazonaws.com/files.tau-technologies.com/tmp/github_issue_1029/rhodes-7.1.0.gem Also you can use sources of rhodes from branch : https://github.com/rhomobile/rhodes/tree/github_issue_1029
Hello, now it also breaks Android 9 with error:
Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{801e254 u0 com.wonder_sistemas.probusm2/com.rhomobile.rhodes.RhodesService}
#00 pc 000000000007aad0 /system/lib64/libc.so (__epoll_pwait+8)
#01 pc 0000000000014f04 /system/lib64/libutils.so (android::Looper::pollInner(int)+304)
#02 pc 0000000000014d38 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
#03 pc 0000000000133430 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:332)
at android.os.Looper.loop (Looper.java:168)
at android.app.ActivityThread.main (ActivityThread.java:6878)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:876)
Still needs to be tested on Android 10.
Same error confirmed on Android 10, using commit 3fdf49924a34f55d511909c927249aad4b85c793
We will prepare update soon
Hi,
Please try this gem - https://s3.amazonaws.com/files.tau-technologies.com/tmp/github_issue_1029/ver2/rhodes-7.1.0.gem or use sources from branch - https://github.com/rhomobile/rhodes/tree/github_issue_1029
It misses android uses-permission FOREGROUND_SERVICE. After I've manually added the permission it runs, but a permanent app icon stays on the status bar with no information.
Despite that It runs fine on my phone, still needs test on other devices.
I do not known how run foreground service without icon. :-( We will discuss about it - may be add something to icon's panel etc. So, the main information - application work fine with our changes related foreground service. It is correct ?
I did some reading and it looks that it's impossible to hide the icon, for security reasons. Maybe you can add a message telling it's running on the background. Well, not yet, I've tested on a single device (Android 9) because you introduced changes to backward versions. It still needs some testing on Android 10 devices.
We're looking for ways how we can resolve that, I guess we'll have some working build in May.
Fixed in 7.2.2
So far this happened in 2 devices that received Android 10 upgrade:
Rhodes: 7.1.0
ANR: