android - testing an unsigned apk that eventually will be signed with a system signature -


i'm developing non google play application, delivered unsigned release assembly apk device manufacturers sign own private system key signature.

the system signature essential, because app uses permissions protection level signatureorsystem . since app not going installed system privileged app, must signed system's signature.

since i'm not going have access final signed apk (or signing key itself) don't know how can test product i'm delivering (on real device , not emulator) since functionality depends on been signed system signature.

so far, reference found is old thread discussing how sign system signature, understand - not work anymore.

i understand recommended work-flow how test app behavior signed system signature on real device.

with larger companies, company manufacturing device provide version of os app developer flash device has different set of recognized signing keys test with. how expect app developers able test apps if running on full production device.

you might able away rooting device , sideloading apk in /system/app instead of usual install location of /data/app. once have app manifest necessary system permissions installed there, reboot, , install (adb install /data/app) , able use system permissions define in app in /system/app.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -