@doubledutch/cli2.5.4 • Public • Published
Build DoubleDutch extensions with React Native
Currently, DoubleDutch developer tools for React Native extensions are only supported on Mac OS X.
- Install the
doubledutchcommand line tools
npm i -g @doubledutch/cli
- Create an empty folder for your project and initialize it.
cd ~/code/project doubledutch init
- Run the sample code in the simulator
cd ~/code/project/mobile npm run ios
⌘ Rin the simulator to refresh.
⌘ Dfor debugging.
init initializes a new DoubleDutch extension in the current empty folder install <eventID> installs the DoubleDutch extension to an event login sets your DoubleDutch developer account credentials publish publishes the DoubleDutch extension in the current folder