alinz / react-native-share-extension

react-native as an engine to drive share extension
MIT License
762 stars 396 forks source link

Host app does not work on ios. #159

Closed NishidaRyu416 closed 5 years ago

NishidaRyu416 commented 5 years ago

Although I followed the instructions when I open the host app, only a white-screen is captured. Also, share extension itself does not work; I copied the sample code as the share-extension-component whilst it should show a modal when the share extension is triggered, it does show anything at all.

/** @format */

import { AppRegistry } from 'react-native';
import App from './App';
import Share from './Share';
import { name as appName } from './app.json';

AppRegistry.registerComponent(appName, () => App);
AppRegistry.registerComponent('XXXX', () => Share);