KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
react-native-autostart
★ 10
Open GitHub ↗
React Native Autostart Plugin
Download README (.md)
Explore Similar Repositories
AnimeGAN
:
A Deep Convolutional Generative Adversarial Network to generate Faces of Anime Characters
brainfk
:
The World Famous Optimizing Brainfk Interpreter (With a JIT) ™
text-normalisation
:
JS / Python3 / PHP Lib to work with UTF8 polytonic greek and latin
Memristor-NN
:
No description available.
CortexCellDeconv
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
react-native-autostart
?
Download (.md)
# react-native-autostart [](https://www.npmjs.com/package/react-native-autostart) []() []() []() []() ## Getting started ``` # npm npm install react-native-autostart --save ``` ### Automatic Installation `$ react-native link react-native-autostart` ### Manual Installation #### Android 1. Open up `android/app/src/main/java/[...]/MainActivity.java` - Add `import com.ssg.autostart.AutostartPackage;` to the imports at the top of the file - Add `new AutostartPackage()` to the list returned by the `getPackages()` method 2. Append the following lines to `android/settings.gradle`: ``` include ':react-native-autostart' project(':react-native-autostart').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-autostart/android') ``` 3. Insert the following lines inside the dependencies block in `android/app/build.gradle`: ``` compile project(':react-native-autostart') ``` ## Usage ```javascript import AutoStart from 'react-native-autostart'; if(AutoStart.isCustomAndroid()) { AutoStart.startAutostartSettings(); } ```