According to Google druging developing instant apps
"Best practices" is "Keeping user state after app installation"
I tried to use Internal Storage in instant app and installed app, but it doesn't work, because there are different paths:
- instant app: /data/user/0/com.google.android.instantapps.supervisor/files/hosted/package_name/files
- installed app: /data/user/0/package_name/files
Of course, external storage also doesn't work, because instant app could receive permission to it.
Does anybody know or has idea how to resolve that problem, which should be solved according to Google "Best practices"?