mobile_app_open icon indicating copy to clipboard operation
mobile_app_open copied to clipboard

Test Android Play Store version

Open anhappdev opened this issue 1 year ago • 5 comments

The latest build (154) is released to the Play Store for internal testing: https://play.google.com/apps/internaltest/4700449654979131232

I tried to run the app on my galaxy s23... but it crashes. Do we know of any known issues? https://github.com/mlcommons/mobile_app_open/pull/745#issuecomment-2152006625

@mohitmundhragithub Can you please test the Play Store version and share a crash log if it crashes?

anhappdev avatar Jun 19 '24 00:06 anhappdev

Sorry, unable to upload the logs from my Qualcomm PC. Need to take it up with IT team here... will get back on this.

But from the logs, it seems that the app has been marked as untrusted, and makes fastRPC inaccessible from the application. Sharing a snippet below:

06-19 15:46:13.911 1745 1745 E audit : type=1400 audit(1718792173.908:4128500): avc: denied { getattr } for pid=5702 comm="DartWorker" path="/vendor/dsp" dev="sda17" ino=2 scontext=u:r:untrusted_app_32:s0:c126,c258,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 SEPF_SM-S918B_13_0001 audit_filtered 06-19 15:46:13.911 1745 1745 E audit : type=1400 audit(1718792173.908:4128501): avc: denied { search } for pid=5702 comm="DartWorker" name="/" dev="sda17" ino=2 scontext=u:r:untrusted_app_32:s0:c126,c258,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 SEPF_SM-S918B_13_0001 audit_filtered 06-19 15:46:13.911 1745 1745 E audit : type=1400 audit(1718792173.908:4128502): avc: denied { getattr } for pid=5702 comm="DartWorker" path="/vendor/dsp" dev="sda17" ino=2 scontext=u:r:untrusted_app_32:s0:c126,c258,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 SEPF_SM-S918B_13_0001 audit_filtered

We need to find why this restriction would come after uploading to playstore? What changes in the apk when we upload the app?

mohitmundhragithub avatar Jun 19 '24 10:06 mohitmundhragithub

The only different I can think of now is that the CI version is an APK and the Play Store version is an Android App Bundle (AAB).

anhappdev avatar Jun 21 '24 15:06 anhappdev

@mohitmundhragithub Is the crash occurred on any Android devices with the QTI backend or only on the Galaxy S23?

anhappdev avatar Jun 22 '24 03:06 anhappdev

I suggest we first release a version with only TFLite backend to the Play Store and see if we still have the issue with untrusted app after the app is live on Play Store.

With only the TFLite backend included in the app, we can also move on with the licensing issue. Other backend vendors can provide their license later when including their backend in the Play Store version.

anhappdev avatar Aug 09 '24 08:08 anhappdev

I suggest we first release a version with only TFLite backend to the Play Store and see if we still have the issue with untrusted app after the app is live on Play Store.

With only the TFLite backend included in the app, we can also move on with the licensing issue. Other backend vendors can provide their license later when including their backend in the Play Store version.

Let's do it. Supposedly, this should just work.

Let's hold on putting it to be generally available in Play Store. Keep it in testing for now (before we got EULA).

freedomtan avatar Aug 13 '24 05:08 freedomtan