I updated my production app with targetSandboxVersion="2"
because the Google Play Console wouldn't let me release my instant app without that. Come to find out, that was a bug that was fixed by the Play Console team. A Google engineer mentioned, in another thread, that not only is this no longer required but it is discouraged but in order for me to have released the instant app I had no choice at the time not knowing it was a bug.
The issue is now I have an app with targetSandboxVersion="2"
on the Play Store and downloaded by thousands of people but come to find out this inadvertently broke Google's Mobile Vision library on Oreo devices. I get the the following logcat repeating nonstop:
I/Vision: Loading library libbarhopper.so
I/Vision: libbarhopper.so library load status: false
W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:1101
I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 1101
So now I want to revert back to targetSandboxVersion="1"
(really just removing targetSandboxVersion
from the installed manifest altogether) but the app can't be installed on top of an apk with targetSandboxVersion="2"
.
What do I do? Is there any way to change the manifest in this way allowing a seamless update?