Comments (8)
@basequatro For detailed implementation of CodePush, you can refer its ReadMe
You can follow steps mentioned here for iOS key deployment
There are no issues with background images. NSK has been updated with pure NativeBase components with least usage of external styles.
from native-starter-kit.
I can't compile this project for Android.
Any idea what i've missed?
from native-starter-kit.
@basequatro Can you list down the steps you followed to set up NSK for Android?
from native-starter-kit.
- Made it work with IOS first.
- Link with with react-native link
Set in build.gradle app
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
buildConfigField "String", "CODEPUSH_KEY", "XXXX"
}
debug {
buildConfigField "String", "CODEPUSH_KEY", "YYYY"
}
- Set in java file
new CodePush("XXXX", MainApplication.this, BuildConfig.DEBUG)
from native-starter-kit.
This happens when i set debug key.
debug {
buildConfigField "String", "CODEPUSH_KEY", "MYSTAGINGKEY"
}
If i remove debug { ...} the project builds fine
// Fields from build type: debug
public static final String CODEPUSH_KEY = MYSTAGINGKEY;
from native-starter-kit.
I\ve added also this to strings.xml
<string moduleConfig="true" name="reactNativeCodePush_androidDeploymentKey">MYPRODKEY</string>
from native-starter-kit.
@basequatro Its very simple
react-native link react-native-code-push
- Enter codepush keys
This automatically adds key toandroid/app/src/main/res/values/strings.xml
Also no need of adding keys inMainApplication.java
- Go to
android/app/build.gradle
and add this
buildTypes {
debug {
buildConfigField "String", "CODEPUSH_KEY", '"codepush_staging_key"'
}
release {
buildConfigField "String", "CODEPUSH_KEY", '"codepush_production_key"'
}
}
from native-starter-kit.
@basequatro Still facing issues?
Check the latest release of NSK
from native-starter-kit.
Related Issues (20)
- ERROR Error watching file for changes: EMFILE HOT 2
- How to rename this project HOT 12
- Disable drawer gesture for Drawer HOT 5
- StackNav variable in MainStackRouter.js is promotion to global HOT 1
- after update react native 0.46.4,error out. HOT 4
- (node:404) DeprecationWarning: node --debug is deprecated. Please use node --inspect instead. HOT 1
- react version problem HOT 5
- yarn install error HOT 4
- SDK Build Tools Version Used by Starter Kit Out of Date HOT 1
- How to Retrieve data from AsyncStorage
- Codepush crashes on Android but works on iOS
- Login button's first press not fired HOT 1
- What does the @ symbol do in javascript imports? HOT 2
- Drawer Navigating Animation HOT 8
- Picker itemTextStyle,itemTextStyle,textStyle not working HOT 1
- Could not determine java version from '10.0.1'. ??
- How i run this project on expo ? HOT 2
- var oldJsCodeLocationAssignmentStatement = appDelegateContents.match(/(jsCodeLocation = .*)/)[1]; HOT 1
- Update?
- Unable to resolve module "color" from "js\themes\base-theme.js"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from native-starter-kit.