-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get unofficialStore threat while installing app from Visual Studio App Center #3
Comments
Hello @privaterepo2021 , the supportedAlternativeStores accepts a package name of the application, which installs your app. If you are downloading the APK from App Center, it might be installed by Android package installer. Try to include the com.google.android.packageinstaller or com.android.packageinstaller. However, this will allow installing your APK directly even not from App Center, therefore do not use it later in production. Kind regards, |
Hi @msikyna, thank you for the quick response. I had tried out the solution and it works. |
Hi @msikyna, I just checked that actually the plugin did not show unofficial store threat because the plugin has fail to init. This is my configuration:
This is from the debugger:
|
Hello @privaterepo2021, this is happening because your config is nested under
Try to pass object with this structure into (Also don't forget to update the Best, |
Hi @tompsota, I had check the plugin code, looks like supportedAlternativeStores is not supported for the current master branch of this plugin? I notice that the config value is null for supportedAlternativeStores.
this is my function
I had try with your suggestion but still hit the same error. |
Hi @privaterepo2021 , you are right, there was a slight bug in the master branch regarding the supportedAlternativeStores.. it will be fixed in a moment, as today, we are releasing a v2.0.0. There will be one more API change, certificateHash is now certificateHashes : ["your_signing_certificate_hash_base64"]; see the array, it now supports more certificate hashes. |
Hi @msikyna, I will test it out with the new version of the plugin. Thanks, have a great day 👍 |
Hi @msikyna @tompsota , I still got the error after upgrading to the latest 2.0.0 version. Is there anything I miss out?
This is my function
|
I using "@angular/core": "11.0.2" config.xml
|
@privaterepo2021 There was a breaking change in the API in v2.0.0, please change |
Hi @tompsota thanks for pointing out the mistake, it works now 👍 |
Hi @tompsota , are we able to add supportedAlternativeStores for ios config? Seems like IOS is also hitting unofficial store threat if I build Ipa from xcode |
Hello @privaterepo2021 , Kind regards, |
Is there a way to add Visual Studio App Center to the supportedAlternativeStores array list?
The text was updated successfully, but these errors were encountered: