Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

174 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posyt

Getting Started

  1. Run npm install
  2. Download the FBSDK https://developers.facebook.com/docs/ios/getting-started/#download
  3. Open XCode open ios/Posyt.xcodeproj
  4. Press play

Troubleshooting

  • Make sure the posytDomain in constants.js is set to localhost or the IP of your development machine

Releasing updates

https://github.com/Microsoft/react-native-code-push#releasing-updates

The default: (remember to update the CHANGELOG...) NOTE: DO NOT change the version or build in xcode!!!! codepush will not be able to update anything but the active version in the app store NOTE: release-react will bundle the main.jsbundle as well, so you don't need to run react-native bundle

code-push release-react Posyt ios -m --des "1.0.5.4" --rollout "100%" -s main.jsbundle.map

Test on device then promote to production:

code-push promote Posyt Staging Production

Add the source map to sentry https://github.com/getsentry/raven-js/blob/203dd7f6e61bf7c50f7fb2b311ecae264098e343/docs/integrations/react-native.rst#generating-and-uploading-source-filessource-maps

To see how many people have installed the latest version:

code-push deployment ls Posyt

More CLI cmds https://github.com/Microsoft/code-push/blob/master/cli/README.md

Packaging - DEPRECATED in favor of code-push

XCode Product > Scheme > Edit Scheme -- set Build Configuration to Release and uncheck debug
XCode Click the Posyt project in left bar > Build Settings -- in Code Signing change the profile to prod and the identities to distrubution

react-native bundle --entry-file index.ios.js --platform ios --dev false --bundle-output ios/main.jsbundle

XCode Set target to iPhone in top bar, Select the Posyt project in left bar, Product > Archive
Fabric should automatically find the new build and prompt you to distribute it to testers, if not run archive again

Gotchas

Branch

https://github.com/BranchMetrics/react-native-branch-deep-linking/issues/18#issuecomment-231533316

About

📱Posyt React Native App

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages