Skip to content

Instantly share code, notes, and snippets.

View digitlninja's full-sized avatar
💭
<🕉/>

digitalninja digitlninja

💭
<🕉/>
View GitHub Profile
// RNative Webview Parent
class App extends Component {
constructor(props) {
super(props);
this.webviewRef = null;
}
async componentDidMount() {
if (Platform.OS === 'android') {
const permission = await PermissionsAndroid.request(