title: Launch app from share button in iOS - Objective C and React Native
body: <p>I'm trying to launch MyApp when user selects any image in Photos and taps in Share -> MyApp. 
  Now the <code>(UIView*) shareView</code> is launched successfully but I need enter to the normal flow in MyApp, I mean, launch all the app with the react native views instead the <code>shareView</code>.</p>
  
  
  
  <pre><code>- (UIView*) shareView {
    NSURL *jsCodeLocation;
  
    jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"src/components/share/share" fallbackResource:nil];
  
    RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                        moduleName:@"Share"
                                                 initialProperties:nil
                                                     launchOptions:nil];
  
    UILabel *myLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 50, 200, 40)];
    [myLabel setBackgroundColor:[UIColor clearColor]];
    [myLabel setText:@"THIS IS A LABEL FOR TEST"];
    [rootView addSubview:myLabel];
    rootView.backgroundColor = UIColor.whiteColor;
  
  
    return rootView;
  }
  </code></pre>
  
  
  
  <p>(The react native component is not working if is called from here, never is called or rendered)</p>
  
  <p>All the permissions are working and the share button is appearing in the activity action sheet.</p>
  
  <p>I would like to know if this is a impossible task (according the guidelines of apple, the share in activity sheet should be a simple task to send data, maybe using <code>NSUserDefaults</code>) but I don't know if programmatically or in life cycle of iOS app this is prohibited.</p>
  
  <p>I try to call the app with <code>NSURL</code> and adding the scheme identifier but this is not working.</p>
  
  <p>Thanks for your help.</p>