Questions tagged [react-native-fbsdk]
Questions related to "React Native" SDK from facebook for Android & iOS
324
questions
0
votes
0
answers
24
views
Email field not getting returned when using react-native-fbsdk-next
I'm stuck on this problem for days and can't seem to find a solution!
I'm using Expo managed react native project, trying to use facebook login for authentification with firebase.
Followed this guide ...
1
vote
0
answers
11
views
unrecognized selector sent to instance in [FBSDKModelManager enable]
I upgrade expo project from 47 to 48 then this error occur from nowhere.
It make app crash when starting. Nothing much in project was changed.
Even if I try to disable all code and return only empty ...
1
vote
0
answers
34
views
react-native-fbsdk-next hidden modal on android
Calling LoginManager.logInWithPermissions(["public_profile"])on android opens the facebook modal, then when I click on continue, the modal closes, howewer it seems like a hidden modal is ...
0
votes
0
answers
92
views
Invalid Signature or Invalid Claims Errors on react-native-fbsdk-next
We're using react-native-fbsdk-next in our Expo 47 project and we notice some errors only on a small portion of users on Android.
Invalid Signature or Invalid Claims
The nativeStackAndroid is the same ...
0
votes
0
answers
51
views
How can I get the user's Facebook profile link with verification?
In my app, user can add their Facebook profile link. But I don't want to add the user's Facebook profile link without verifying it.
I can get the user's verified Facebook profile link from ...
1
vote
1
answer
63
views
null is not an object (evaluating 'LoginManager.logInWithPermissions')
When I try to login to Facebook in expo android app, getting the following error
null is not an object (evaluating 'LoginManager.logInWithPermissions')
const SignInwithFB = async () => {
try {
...
2
votes
0
answers
124
views
Showing "Sorry, Something went wrong" message while try to login facebook through react native application
As you can see in the screenshot above, I got the warning message when I added "user_friends" to loginButton.setPermissions("email", "public_profile", "user_friends&...
3
votes
1
answer
808
views
react-native-fbsdk-next expo installation/usage
I'm trying to implement Facebook login in my App (Android and IOS), I'm using Expo.
I tried following the documentation here on GitHub but it's not working.
For Android I get:
ERROR Invariant ...
0
votes
0
answers
23
views
How to show fb ads in the app using react-native-fdsdk
{"_dispatchInstances": {"_debugHookTypes": null, "_debugNeedsRemount": false, "_debugOwner": {"_debugHookTypes": null, "_debugNeedsRemount": ...
0
votes
1
answer
649
views
Compatible versions for pod "FBSDKCoreKit" - "react-native-fbsdk-next"
Error after adding the 'react-native-fbsdk-next' dep in order to add facebook sign-in method to an app:
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
In Podfile:
...
0
votes
1
answer
176
views
React native firebase auth with facebook crashes app
After upgrading targetSdkVersion from 30 to 31 my facebook authentication crashes app without any visible error.
For exapmle google auth using firebase is working perfectly. This issue appears only ...
2
votes
0
answers
194
views
React Native Facebook SDK Next - null is not an object (evaluating 'Settings.initializeSDK')
I am trying to integrate facebook sdk into my react native app with a goal of optimizing app installs through the fb ads.
I followed all the steps mentioned here
https://www.npmjs.com/package/react-...
0
votes
0
answers
380
views
Undefined symbol: _OBJC_CLASS_$_FBAEMReporterFBAEMReporter
I have an old React-Native project which uses the old Facebook-SDK,
so as per the instruction I removed the old library and installed the suggested one, and I followed the installation steps in the ...
0
votes
2
answers
927
views
Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit error
i am trying to add library react-native-fbsdk-next to my react native app to make a log in with facebook button. I followed install instruction of facebook to set up Facebook SDK for iOS. The app ...
1
vote
0
answers
592
views
Failed to resolve plugin for module "react-native-fbads" relative to [project dir]
react-native-fbads: 7.1.0
react-native: 0.68.2
I am using an eas build for a project that is part of a managed expo workflow. I am trying to integrate Facebook ads into the app using react-native-...
0
votes
1
answer
147
views
How to login with my own Facebook app instead of Expo Go?
I'm trying to implement a Facebook login with Firebase on my Expo React Native app. I've tried all steps available on Youtube and ended up using the old and deprecated expo-facebook module. Everything ...
0
votes
0
answers
83
views
Facebook pixel not showing app install in app promotion campaign
In our react native application, we are using "react-native-fbsdk-next": "4.6.0".Following the official instructions found at https://developers.facebook.com/docs/app-events/...
0
votes
0
answers
94
views
Facebook dashboard is unable to having conversion with app. [ios-fbsdk 13]
error, while configuring events
Followed all the steps and has done updated SDK integration, also got test events on dashboard, but could not Configure app events for iOS 14.5 and later ad ...
0
votes
0
answers
31
views
'react-native-fbads' throws error saying this package itself specifies a `main` module field that could not be resolved
I have integrated react-native-fbads in my React Native application. Now when i run the application, it runs and then shows this following error:
Error: While trying to resolve module `react-native-...
0
votes
0
answers
120
views
Facebook login is working in debug apk but not in release apk
I have added hashkeys of both debug.keystore and release.keystore.
Login is working fine in debug apk but when i generate release apk it throws error which is "Login Error : there is an error in ...
0
votes
0
answers
17
views
Reauthenticate in fbsdk react native
is it possible to call reauthenticate? I need to call authenticate but ask user to fill credentials again. I tried looking for it in API but didn't found this option. Thanks
2
votes
0
answers
849
views
track facebook event IOS 14.5+ react-native-fbsdk-next
I want to track event in IOS14.5 and higher, I ask the user for permission to track events and send it to facebook
`
const trackingStatus = yield getTrackingStatus();
if (trackingStatus === '...
1
vote
0
answers
56
views
The SDK has not been intialized. Got this error while running react native android application in debug mode
I am using react-native-fbsdk-next(version 4.6.0) in my react native project. I followed the docs accordingly but then it started giving me following error since yesterday.
I checked the other ...
4
votes
1
answer
5k
views
(Breaking Again) The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first. (Android)
I've been using facebook sdk for over a year now and i had followed the docs accordingly but since yesterday the app started throwing the error and it's also occurring in the previous release build (...
0
votes
0
answers
130
views
AppLink.fetchDeferredAppLink() always returns null in android and undefined in iOS
🐛 Bug Report
AppLink.fetchDeferredAppLink() always returns null in android and undefined in iOS.
To Reproduce
I use https://developers.facebook.com/tools/app-ads-helper to test the deep-link. Here i ...
0
votes
0
answers
544
views
How to configure react native app for SKAdNetwork FB/IG ads?
It is my first time deplying FB/IG ads to increase app installs. As part of the process, the Ads Manager, however, is prompting me to "Update the Facebook SDK for iOS" which I assume to mean ...
3
votes
0
answers
673
views
React Native Facebook SDK IOS Event is Not getting fired on Event Manager
I've got react-native-fbsdk-next installed on my project. It's properly installed.
import { AppEventsLogger } from 'react-native-fbsdk-next';
facebookSDKInit = () => {
FBSettings....
3
votes
0
answers
1k
views
react-native-fbsdk-next is not working just on android
i installed react-native-fbsdk-next on ios and it works fine, only on android the screen shows up to log in but does not call any other actions after that.
it just closes the webview
I added SHA1 ...
0
votes
0
answers
424
views
react-native-fbsdk failed to compile in android
I recently got the below issue when trying to run yarn android or ./gradlew app:assembleRelease:
What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
Could not ...
3
votes
0
answers
351
views
Facebook iOS SDK Login - "Unsupported request"
Issue
When we try to log in with developer or testers accounts on iOS, we get the error Unsupported Request. Our app was disabled because the tester could not login due to this error.
Scenario
It ...
1
vote
2
answers
895
views
react-native ios build xcode 12/13 (react-native run-ios) failed with PhaseScriptExecution and CompileSwiftSources error
i am trying to build react-native on ios, but it is throwing error
versions:
react-native info
info Fetching system and libraries information...
System:
OS: macOS 11.4
CPU: (4) x64 Intel(R) ...
2
votes
1
answer
650
views
Facebook login error: Unsupported request
I'm trying to add Facebook login in my application.
Using react-native-fbsdk-next
Here is my code:
const result = await LoginManager.logInWithPermissions(['public_profile', 'email', 'user_birthday']);
...
0
votes
1
answer
142
views
How to add login with Facebook to a React Native App
I'm new to react Native, I'm trying to add Facebook Login to my app. Can anyone suggest a good guide, updated for the latest version React Native.
So far I'm trying with 'react-native-fbsdk' which is ...
-1
votes
1
answer
745
views
react-native-fbsdk-next Android Login Button results in oAuth error
I am using react-native-fbsdk-next and followed all steps to set up Android/iOS (https://www.npmjs.com/package/react-native-fbsdk-next)
iOS works perfectly.
On android i receive the following redirect ...
1
vote
2
answers
280
views
React-native fbsdknext when first logIn on android Profile.getCurrentProfile return null
Faced a problem while using react-native-fbsdk-next.
The first call to Profile.getCurrentProfile on android returns null. Everything works correctly on ios. If authorization is then called again, the ...
0
votes
1
answer
3k
views
Deprecating FB Login Support on Android Embedded Browsers
Got an alert from the Facebook developers console.
We’ve been monitoring an increase in phishing attempts on Android embedded browsers, also known as WebViews. Because of this, we will no longer ...
0
votes
0
answers
341
views
How get user profile link of facebook?
I am using react-native-fbsdk and tried to get data of user while user is logging in my app using facebook.
I am able to get name,first_name,last_name,email and picture but I also want profile link of ...
1
vote
2
answers
459
views
React-native fbsdk-next asks just for public_profile permission
I have next issue: my react-native app doesn't ask fb about all permissions from list, just about public_profile permission. System iOS.
My code is:
LoginManager.logInWithPermissions(['public_profile',...
0
votes
1
answer
110
views
React Native FBSDK attempts to open `urlScheme` without the defined suffix on iOS
I'm attempting to make my FBSDK support multiple applications so I set my CFBundleURLSchemes to be fb{APP_ID}{suffix}.
Now when I type fb{APP_ID}{suffix}:// into Safari the correct app is attempted to ...
0
votes
1
answer
102
views
React Native FBSDK ShareDialog return isCancelled true on successful post
I would like to know if anyone experienced the same issue. The code is just this.
ShareDialog.canShow(shareLinkContent).then((canShow) => {
if (canShow) {
return ShareDialog.show(...
1
vote
0
answers
64
views
react-native postId null from ShareDialog
I'm using react-native-fbsdk {ShareDialog} to post my feeds on Facebook but ShareDialog is not returning the post Id it's always null in my case.
My Import
import { ShareDialog, LoginManager, ...
4
votes
2
answers
1k
views
React Native app not sending events to iOS 14.5 users
My react native app is not showing any events in the Facebook Event Manager from iOS 14.5 users. It works fine for Android and iOS 13 users. I have the same issue with the Kochava system also, it only ...
2
votes
0
answers
452
views
Error Logging into this app with facebook is not available at this time
today i get into this error using react native with expo managed workflow, i try with facebook sdk, expo-auth-session, webview url, so them i give up because every method give me the same error, i end ...
2
votes
1
answer
374
views
react native FaceBook SDK get token for IOS is returning wrong signature
I am using the latest Facebook SDK react-native-fbsdk-next, I managed to make it work for Android, but it is not working for IOS
LoginManager.logInWithPermissions([
'...
1
vote
0
answers
400
views
react-native-fbsdk-next's LoginManager.logOut() does not logout a user
I am using react-native-fbsdk-next to connect Facebook Auth in the react native app.
I am using 'LoginManager.logOut()' code to logout a user.
After logging out, if another user tries to log in again ...
1
vote
0
answers
165
views
React native facebook ad deeplink issue
My deeplink is not working. I have integrated fbsdk and when I click on an ad on fb then it will take me to playstore/appstore for app install (which is normal behaviour). But after the installation ...
1
vote
1
answer
213
views
How to know the version of facebook android sdk in node_modules/react-native-fbsdk?
For iOS we can look at the FBSDKCoreKit.h it states the SDK version there.
Is there something similar for Android? How do I know which facebook SDK version it's on?
Would be better if there's a ...
0
votes
1
answer
958
views
Facebook Login implementation failing for React Native App
I've been trying to implement Facebook Login functionality for react native app. Sad how a language developed by Facebook is not properly supporting its own functionalities. Here is the process I've ...
1
vote
0
answers
211
views
'/ios/Build/Intermediates.noindex/ArchiveIntermediates/projct/BuildProductsPath/Release-iphoneos/FBSDKCoreKit/FBSDKCoreKit.modulemap' not found
these are the error got while archiving reactnative project in xcode 12.4. debug build is running fine in simulator. but archiving showing two error.
error 1:
module map file '/Users/mac/Downloads/omw-...
1
vote
1
answer
146
views
React Native Facebook login library (react-native-fbsdk) - how to change logo?
Im using library react-native-fbsdk and everything is working OK.
However when user clicks on button to log in via facebook......a screen appears saying "Would you like to continue".....and ...