fable-import-react-native-onesignal
v0.0.12
Published
Fable bindings for React Native OneSignal
Downloads
17
Readme
fable-import-react-native-onesignal
Fable bindings for React Native OneSignal
Installation
Install fable-import-react-native and follow the instructions for that package.
Follow install instructions for react-native-onesignal and then:
$ npm install --save-dev fable-import-react-native-onesignal
Usage
Follow instructions for react-native-onesignal.
In F# project (.fsproj)
<ItemGroup>
<Compile Include="node_modules/fable-import-react-native-onesignal/Fable.Import.ReactNativePushOneSignal.fs" />
<Compile Include="node_modules/fable-import-react-native-onesignal/Fable.Helpers.ReactNativeOneSignal.fs" />
</ItemGroup>
In F# script (.fsx)
#load "node_modules/fable-import-react-native-onesignal/Fable.Import.ReactNativeOneSignal.fs"
#load "node_modules/fable-import-react-native-onesignal/Fable.Helpers.ReactNativeOneSignal.fs"
...