CustomView not opening for iOS
When I select the application on the screen that opens after pressing the share button, the screen remains as seen in the 2nd picture. I followed all the CustomView instructions. But I didn't get any results
SS 1.
SS2.
package list
"@react-navigation/bottom-tabs": "^6.5.7",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.9.12",
"react": "18.2.0",
"react-native": "0.71.7",
"react-native-share-menu": "^6.0.0"
PodFile
`target 'ShareExtension' do use_react_native!
pod 'RNShareMenu', :path => '../node_modules/react-native-share-menu' end`
AppDelegate
`- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
// check url string NSString *urlString = url.absoluteString;
// if url contains ShareExtension prefix, handle with ShareMenuManager if ([urlString hasPrefix:@"DipnotCo://"]) { NSLog(@"Entered with the following string: %@s", urlString); return [ShareMenuManager application:application openURL:url options:options]; }
// else use React Native Linking return [RCTLinkingManager application:application openURL:url options:options]; }`