EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 445 forks source link

Facebook SDK #494

Closed nikis closed 5 years ago

nikis commented 7 years ago

I`am using Facebook login with "nativescript-plugin-firebase": "^4.0.5". When i install my app on real ios device i got error: "Facebook SDK is not installed - see Podfile". Its very strange because on ios simulator everything works fine.

    firebase.login({
        type: firebase.LoginType.FACEBOOK,
        facebookOptions: {
            scope: ['email']
        }
    }).then(result=>{
        //Success
    }, err=>{
        //Error - "Facebook SDK is not installed - see Podfile"
    });

This is my pod file

 pod 'SCLAlertView-Objective-C' 
 pod 'MBProgressHUD'

 pod 'Firebase', '~> 4.1.1'
 pod 'Firebase/Database'
 pod 'Firebase/Auth'

 # Uncomment if you want to enable Remote Config
 #pod 'Firebase/RemoteConfig'

 # Uncomment if you want to enable Crash Reporting
 #pod 'Firebase/Crash'

 # Uncomment if you want to enable FCM (Firebase Cloud Messaging)
 pod 'Firebase/Messaging'

 # Uncomment if you want to enable Firebase Storage
 #pod 'Firebase/Storage'

 # Uncomment if you want to enable AdMob
 #pod 'Firebase/AdMob'

 # Uncomment if you want to enable Invites and/or Dynamic Links
 #pod 'Firebase/Invites'

 # Uncomment if you want to enable Facebook Authentication
 pod 'FBSDKCoreKit', '~> 4.14.0'
 pod 'FBSDKLoginKit', '~> 4.14.0'

 # Uncomment if you want to enable Google Authentication
 #pod 'GoogleSignIn'
 # End Podfile 

end
ravidoki commented 6 years ago

@nikis Have you resolved this issue. I am struck with this error. Thanks.

nikis commented 6 years ago

Yes, last week we fix it.

ravidoki commented 6 years ago

Thanks. My case is different as I am working on windows machine.

ravidoki commented 6 years ago

@nikis, Resolved my issue. I have done reinstalled all node modules.

Thanks for your help.

ryanlangton commented 5 years ago

what does "install everything with pods" mean? I've installed everything w/ tns plugin add and am having this error

EddyVerbruggen commented 5 years ago

@ryanlangton Do you have a repo I can look at? Ping me there and I'll close this issue because it's usually fixed by blowing away the platforms folder, updating cocoapods (pod repo update) and building again.

EddyVerbruggen commented 5 years ago

For others: the problem Ryan was having was not related to this plugin.