
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@ddn/ddn-mobile
Advanced tools
Powered by Ignite CLI.
Includes:
First, install Ignite CLI:
$ yarn global add ignite-cli
Second, add @ddn/ddn-mobile Plugin:
$ ignite add @ddn/ddn-mobile
Then spin up a new React Native app:
$ ignite new MyApp -b @ddn/ddn-mobile
The Ignite Bowser boilerplate project's structure will look similar to this:
ignite-project
├── app
│  ├── components
│  ├── i18n
│  ├── models
│  ├── navigation
│  ├── screens
│  ├── services
│  ├── theme
│  ├── utils
│  ├── app.tsx
│  ├── environment-variables.ts
├── storybook
│  ├── views
│  ├── index.ts
│  ├── storybook-registry.ts
│  ├── storybook.ts
├── test
│  ├── __snapshots__
│  ├── storyshots.test.ts.snap
│  ├── mock-i18n.ts
│  ├── mock-reactotron.ts
│  ├── setup.ts
│  ├── storyshots.test.ts
├── README.md
├── android
├── ignite
│  ├── ignite.json
│  └── plugins
├── index.js
├── ios
└── package.json
Included in an Ignite boilerplate project is the app directory. This is a directory you would normally have to create when using vanilla React Native.
The inside of the app directory looks similar to the following:
app
│── components
│── i18n
├── models
├── navigation
├── screens
├── services
├── theme
├── utils
├── app.tsx
├── environment-variables.ts
components
This is where your React dumb components will live. Each component will have a directory containing the .tsx file, along with a story file, and optionally .presets, and .props files for larger components. The app will come with some commonly used components like Button.
i18n
This is where your translations will live if you are using react-native-i18n.
models
This is where your app's models will live. Each model has a directory which will contain the mobx-state-tree model file, test file, and any other supporting files like actions, types, etc. There's also an extensions directory with useful shared extensions that you can include in your models like .extend(withRootStore) or .extend(withEnvironment) to access the root store or environment respectively.
navigation
This is where your react-navigation navigators will live.
screens
This is where your screen components will live. A screen is a React component which will take up the entire screen and be part of the navigation hierarchy. Each screen will have a directory containing the .tsx file, along with any assets or other helper files.
services Any services that interface with the outside world will live here (think REST APIs, Push Notifications, etc.).
theme Here lives the theme for your application, including spacing, colors, and typography.
utils This is a great place to put miscellaneous helpers and utilities. Things like date helpers, formatters, etc. are often found here. However, it should only be used for things that are truely shared across your application. If a helper or utility is only used by a specific component or model, consider co-locating your helper with that component or model.
app.tsx This is the entry point to your app. This is where you will find the main App component which renders the rest of the application. This is also where you will specify whether you want to run the app in storybook mode.
The ignite directory stores all things Ignite, including CLI and boilerplate items. Here you will find generators, plugins and examples to help you get started with React Native.
This is where your stories will be registered and where the Storybook configs will live
This directory will hold your Jest configs and mocks, as well as your storyshots test file. This is a file that contains the snapshots of all your component storybooks.
FAQs
DDN Link's hot boilerplate for Mobile.
We found that @ddn/ddn-mobile demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.