ohh2ahh / AppAvailability

This Cordova / PhoneGap plugin allows you to check if an app is installed.
228 stars 117 forks source link

[Android] [com.facebook.katana] Package manager has died #63

Open fgarcia5 opened 4 years ago

fgarcia5 commented 4 years ago

When I try to check if the Facebook application is installed (com.facebook.katana) I get the following error, being that the App is installed: image

This does not happen if I check another application, for example Instagram (com.instagram.android).

Device: Samsung J5 - Android 6.0 Cordova-android: 8.1.0 Cordova plugins:

Here my code: appAvailability.check( 'com.facebook.katana', function(info) { }, function(error) { console.log(error); //error get "Package manager has died" } );

I have exhausted the alternatives I had at my disposal to solve it and I couldn't.

Someone could help me?

Thank you

fgarcia5 commented 4 years ago

I have found a workaround for this error: image

Could you check it out and add to the repo

rcasunshare commented 4 years ago

I have found a workaround for this error: image

Could you check it out and add to the repo

Do you have this plugin updated? because in Android it doesn't work with Facebook and in + iOS 11 nothing works directly.

fgarcia5 commented 4 years ago

I have found a workaround for this error: image Could you check it out and add to the repo

Do you have this plugin updated? because in Android it doesn't work with Facebook and in + iOS 11 nothing works directly.

Yes, I have implemented it on both platforms and it works correctly. If you want, give me more context and information about your project (if possible share the repository) and I will try to help you

ghost commented 4 years ago

I have found a workaround for this error: image Could you check it out and add to the repo

Do you have this plugin updated? because in Android it doesn't work with Facebook and in + iOS 11 nothing works directly.

Yes, I have implemented it on both platforms and it works correctly. If you want, give me more context and information about your project (if possible share the repository) and I will try to help you

Can you please share what modifications you made to allow for ios 11+ please, I'm stuck trying to find a solution for this.

fgarcia5 commented 4 years ago

I have found a workaround for this error: image Could you check it out and add to the repo

Do you have this plugin updated? because in Android it doesn't work with Facebook and in + iOS 11 nothing works directly.

Yes, I have implemented it on both platforms and it works correctly. If you want, give me more context and information about your project (if possible share the repository) and I will try to help you

Can you please share what modifications you made to allow for ios 11+ please, I'm stuck trying to find a solution for this.

I can't help you without specifying the error.

Don't forget to add "LSApplicationQueriesSchemes", see: https://github.com/ohh2ahh/AppAvailability#add-url-schemes-to-the-whitelist