@seiboldsoft wrote:
Hello,
i moved from Ionic 1.* to Ionic 2.* and installed the Facebook4 Plugin.
Now i could see that there is no src/browser folder. Anyway, ive tried calling
Facebook.browserInit("");within platform.ready but it seems to be broken. It throws an Exception
angular2-polyfills.js:528 Unhandled Promise rejection: Object {error: "cordova_not_available"} ; Zone: angular ; Task: Promise.then ; Value: Object {error: "cordova_not_available"}
and in the console
TypeScript error: app/pages/facebook/facebook.ts(24,20): Error TS2346: Supplied parameters do not match any signature of call target.What may be wrong? Its working fine in android.
i've made a validation with if (this.platform.is('cordova')) { } else { Facebook.browserInit(...); }
Posts: 1
Participants: 1