For some reason AppAvailability it isn’t working on Android for detecting the installed Facebook app on the device. The test fails every time, even though the FB app is installed?
constructor(private appAvailability: AppAvailability) {
this.appAvailability.check(‘com.facebook.katana’).then(
() => { // success callback
console.log(‘TEST success: com.facebook.katana’);
},
() => { // error callback
console.log(‘TEST error: com.facebook.katana’);
}
);
}