Skip to content

Stanislavja/moonwalk

Β 
Β 

Repository files navigation

iTunes App Store license: MIT code style: prettier tests

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.

Preview

Stack

React-Native

React-Navigation

MobX

TypeScript

Styled-Components

Installation

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

iOS 14

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.

Android

I don't plan to release an Android version of Moonwalk at the current time.

Contribute

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.

Standalone Build

$ 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.

Licence

MIT License

See LICENSE

Packages

No packages published

Languages

  • TypeScript 86.8%
  • Objective-C 4.3%
  • Java 3.0%
  • Ruby 2.7%
  • Starlark 1.9%
  • JavaScript 1.3%