[BREAKGLASS] Append-only mirror of github.com/bluewallet/react-native-handoff
Go to file
Marcos Rodriguez Vélez 31d005f93d Add url parameter
2021-09-24 22:28:32 -04:00
ios Add url parameter 2021-09-24 22:28:32 -04:00
.gitignore Initial commit 2017-07-16 22:13:22 +08:00
package.json Update package.json 2017-07-16 22:43:58 +08:00
README.md Add installation instructions 2017-07-16 22:51:34 +08:00
RNHandoff.ios.js Add url parameter 2021-09-24 22:28:32 -04:00
RNHandoff.js Use userinfo instead of url 2021-09-24 22:19:40 -04:00
RNHandoff.podspec Fix Podspec 2019-08-13 18:41:27 -04:00

react-native-handoff

Installation

yarn add react-native-handoff
react-native link

Usage

import React, { Component } from 'react';
import { Text, View } from 'react-native';
import Handoff from 'react-native-handoff';


export default class MyComponent extends Component {
    render() {
        return (
            <View>
                <Handoff
                    title="My Page" 
                    type="com.example.myapp.lookingAtPage" 
                    url="https://example.com" />
                <View>
                    <Text>My Example Page</Text>
                </View>
            </View>
        )l
    }
}