A simple way to stay up to date with upcoming space launches, built with React-Native, using the Launch Library 2 and the Spaceflight News API.
If you want to test the app on a simulator running locally, follow these instructions:
First, you'll need to create or import a GoogleService-Info.plist
file in the ios
folder. Next, use the following commands:
$ cd moonwalk
$ yarn
$ cd ios && pod install && cd ..
$ yarn build-ios
$ react-native run-ios
If you want to see images on iOS 14, you'll need to apply the following patch:
sed -ie "s/_currentFrame.CGImage;/_currentFrame.CGImage ;} else { [super displayLayer:layer];/" node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
For more informations about this patch, take a look at this GitHub comment.
I don't plan to release an Android version of Moonwalk at the current time.
If you find a bug, feel free to open an issue or submit a pull request.
New ideas are always welcome, if you have an idea to change or add a feature, let me know by opening an issue or messaging me on Twitter.
$ yarn build-ios
To see the assets (Images) in your build, open the XCode project, right click on the moonwalk target -> "Add files to Moonwalk" -> select the asset folder, and make sure the 'create folder references' checkbox is ticked.
You should be able to build the app with β(cmd)+B.
MIT License
See LICENSE