65
Views
9
Comments
Solved
[AppAvailability Plugin] AppAvailabilityPlugin always returns false
Question
appavailability-plugin
Mobile icon
Forge asset by Miguel Antunes
Application Type
Mobile

I'm using the SchemeCheck action in a native Android app, and it returns false even though I'm positive I'm using the correct package name as a parameter. I've checked the package name on my device, and I'm able to redirect to the applications I'm checking using the same package name. I've tried this with several apps on my device.

Anybody have any idea what the issue might be? 

2023-03-30 10-13-40
Miguel Antunes
Solution

Hi Johan,

Thanks for reporting that, Android did change some bits since this plugin was made. I'll take some time to update the source code in order to try to make it compatible with recent Android versions.

I'll try to update it still today, stay tune to this thread as I will reply here when done.

Cheers,
Miguel

2024-08-10 14-49-39
Dinh Nhat Thi

Hi @Miguel Antunes , I have just applied this plugin to my app. I tried some URL Scheme for IOS such as: fb://, microsoft-edge-https://,... But the plugin always returns false. So could you let me know if the plugin can work on IOS for now, or may I pass the incorrect URL?

2021-11-29 08-42-47
Johan Åström

That's wonderful, thank you so much for your fast reply!

2023-03-30 10-13-40
Miguel Antunes

Hi Johan,

I've just uploaded a new version. It should work as expected now :).

Check the release notes for more info, but I've also included the option to return the Version of the application (this feature is only available on Android).

And I've also included one demo app, to be easier to test and see how the plugin works.

Cheers,
Miguel

2021-11-29 08-42-47
Johan Åström

Works like a charm now! Thank you again :)

UserImage.jpg
Jason Dunfee

I am running into this same issue but only on the iOS side.  I had the previous version of the plugin installed and everything worked great.  After I updated only Android is working properly.  Any help would be greatly appreciated.

UserImage.jpg
Stanislav Ploschansky

I can't make SchemeCheck working on iOS. 
Should I include schema into LSApplicationQueriesSchemes file in plugin?

UserImage.jpg
Stanislav Ploschansky

For me, in ver https://github.com/kelter-antunes/AppAvailability.git#OS11_1.0.4 SchemeCheck always returns false for ids twitter://, whatsapp://...

In IPA... Info.plist I have:

Is there any idea what can be fixed in plugin or configuration?

{

    "plugin": {

        "url": "https://github.com/kelter-antunes/AppAvailability.git#OS11_1.0.4",

        "variables": [

            {

                "name": "CORDOVA_ANDROID_QUERIES",

                "value": "com.twitter.android,com.whatsapp"

            },

            {

                "name": "CORDOVA_IOS_URL_SCHEMES",

                "value": "twitter,whatsapp,org.luvelo.supplychain-dev"

            }

        ]

    }

}

Thank you in advance @Miguel Antunes !





UserImage.jpg
Stanislav Ploschansky
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.