fable-import-react-native-push-notification
v0.1.2
Published
Fable bindings for React Native Push Notifications
Downloads
4
Readme
fable-import-react-native-push-notification
Fable bindings for React Native Push Notification
Installation
Install fable-import-react-native and follow the instructions for that package.
Follow install instructions for react-native-push-notification and then:
$ npm install --save-dev fable-import-react-native-push-notification
Usage
Follow instructions for react-native-push-notification.
In F# project (.fsproj)
<ItemGroup>
<Compile Include="node_modules/fable-import-react-native-push-notification/Fable.Import.ReactNativePushNotification.fs" />
<Compile Include="node_modules/fable-import-react-native-push-notification/Fable.Helpers.ReactNativePushNotification.fs" />
</ItemGroup>
In F# script (.fsx)
#load "node_modules/fable-import-react-native-push-notification/Fable.Import.ReactNativePushNotification.fs"
#load "node_modules/fable-import-react-native-push-notification/Fable.Helpers.ReactNativePushNotification.fs"
...