Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martinmoec/Toodeloo-app-3910


https://github.com/martinmoec/Toodeloo-app-3910

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Sample app for the Toodeloo-3910 project

## Requirements
* Node.js
* Watchman
* React Native CLI
* .NET Core SDK >= 2.0.0
* XCode ( for iOS )

## Setup
After cloning the respository cd into project root
* ```yarn```
* ```.paket/paket.exe init```
* ```.paket/paket.exe install```
* ```cd src```
* ```dotnet restore```

## Running
### Set server endpoint in ./src/Constants.fs
### Start fable watch-server (enables auto-updating, optional)
From project root
* ```cd src```
* ```dotnet fable yarn-watch```

Enables auto-updating when the F# project in ```src/``` is altered. Output is built to ```out/```.

### React-native
In project root
* iOS simulator: ```react-native run-ios```
* Android: ```react-native run-android```

## Error handling

### iOS
* ```No bundle URL present``` :
- Try cleaning build-output, kill metro bundler and rebuild.
- ```rm -rf ios/build/; kill $(lsof -t -i:8081); react-native run-ios```
* ```Entry, ":CFBundleIdentifier", Does Not Exist``` and similar
- open ```ios/ReactNativeApp.xcodeproj``` in XCode
- File -> Project Settings... -> Advanced
- Set build location to Custom
- Replace ```Build/..``` with ```build/Build/...``` for the Products and Intermediates entries
- E.g
- Products: ```build/Build/Products```
- Intermediates: ```build/Build/Intermediates.noindex```

### Android

* Licenses not accepted
- run ```/sdk/tools/bin/sdkmanager --licenses``` and accept all