Skip to content Skip to sidebar Skip to footer

Android Sspprefix Is Ignored

I'm trying to write an intent-filter so that when my app isn't installed, the user gets linked to the Play Store, otherwise my app is opened. Preferably with some custom data, but

Solution 1:

sspPrefix was added in API 19. IF you're trying to use a version of Android that's < 19, it will not work. Because XMl works the way it does, it simply ignores tags that are added later (they have no meaning on API levels where it isn't added).

Meaning, you're most likely using an API that is < 19, so when you try to access the app it opens google play because the API doesn't know how to handle the tag.

Solution 2:

I thought it would be worth posting how I solved this issue. I created an intent filter for the URL of the download page on my App's website. Thus, if they open it on Android, and they have my App installed, it starts the App. Otherwise the user is led to the download page where they see links to the Play Store. This isn't exactly what I wanted, but it's close enough for me.

Post a Comment for "Android Sspprefix Is Ignored"