Closed moatasemyakhni closed 3 weeks ago
use
Thanks @yuyongmao for your suggestion. It worked normally after I removed from the podfile
use_frameworks! :linkage => :static
I was using it for firebase, but after removing it. I was able to run singular.
Hello, using #import <Singular_React_Native/SingularBridge.h>
works for me without changing anything to use_frameworks
(we are also using Firebase)
steps:
this error appears in xcode 'Singular-React-Native/SingularBridge.h' file not found
AppDelegate.mm file content: `
import <Singular-React-Native/SingularBridge.h>
import "AppDelegate.h"
// ... stuff
(BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions { // stuff
[SingularBridge startSessionWithLaunchOptions:launchOptions]; }
(BOOL)application:(UIApplication )application continueUserActivity:(nonnull NSUserActivity )userActivity restorationHandler:(nonnull void (^)(NSArray<id> * _Nullable))restorationHandler
{
// Open Universal Links
[SingularBridge startSessionWithUserActivity:userActivity];
return YES;
} `
"react native": "0.71.13" "singular-react-native": "^3.5.1",