Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ buck-out/
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots

.vscode/
ios/assets/
yarn.lock
package-lock.json
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ const Examples = TabNavigator({
},
}, {
lazy: true
})
});

AppRegistry.registerComponent('ReactNativeCheckoutExample', () => Examples)
AppRegistry.registerComponent('ReactNativeCheckoutExample', () => Examples);
218 changes: 88 additions & 130 deletions ios/ReactNativeCheckoutExample.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

390 changes: 390 additions & 0 deletions ios/ReactNativeCheckoutExample/main.jsbundle

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ios/ReactNativeCheckoutExample/main.jsbundle.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
t�����d�BQ��� ���
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
"test": "jest",
"build:ios": "react-native bundle --entry-file='app.js' --bundle-output='./ios/ReactNativeCheckoutExample/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'"
},
"dependencies": {
"react": "16.0.0-alpha.12",
Expand Down
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
###Note
Follow step to solve "No bundle url present" error when run example on ios simulator:
* `rm -rf node-modules`
* `rm -rf ios/build`
* `npm i`
* `rnpm link`
* `npm run build:ios`
* `react-native run-ios`
2 changes: 1 addition & 1 deletion rn-cli.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var config = {
return [
// Keep your project directory.
path.resolve(__dirname),
path.resolve(__dirname, "../react-native-checkout"),
path.resolve(__dirname, "../react-native-checkout-example"),
];
},
// getBlacklistRE: function() {
Expand Down