Răsfoiți Sursa

README file updates

Alex Trofimov 7 ani în urmă
părinte
comite
5875dbcf18
2 a modificat fișierele cu 10 adăugiri și 7 ștergeri
  1. 8 5
      README.md
  2. 2 2
      android/gradle.properties

+ 8 - 5
README.md

@@ -5,9 +5,9 @@ Mobile apps need to have **Nexus** UNA app installed.
 
 ## Run
 
-You need to have [npm](https://www.npmjs.com), [react-native](https://facebook.github.io/react-native/) along with [Android SDK](https://developer.android.com/studio) and/or [XCode](https://developer.apple.com/xcode/) installed to build apps.
+You need to have [npm](https://www.npmjs.com), [react-native](https://facebook.github.io/react-native/) along with [Android SDK](https://developer.android.com/studio) and/or [XCode](https://developer.apple.com/xcode/) along withg [CocoaPods](https://cocoapods.org/) installed to build apps.
 
-After downloading source code, unpacking it, run:
+After downloading source code, unpacking it, then run:
 ```bash
 npm install 
 ```
@@ -16,8 +16,9 @@ Then you can already try to run Andoid app with the following commands (Android
 export ANDROID_HOME=/path/to/android/sdk
 react-native run-android
 ```
-or iOS app (on Max OSX only):
+or iOS app (on Mac OSX only):
 ```
+cd ios; pod install; cd ..
 react-native run-ios
 ```
 
@@ -45,7 +46,7 @@ android/app/BUCK
 android/app/build.gradle
 ```
 
-In XCode change the following:
+In XCode change the following (make sure to open `una.xcworkspace`):
 
 ![](https://raw.githubusercontent.com/wiki/unaio/una/images/mobile-apps/change-name-ios.png)
 
@@ -78,8 +79,10 @@ yo rn-toolbox:assets --icon ./img/icon.png --ios
 To generate Icons for Android - export project (from `/android/` folder) in Android Studio then:
 - Right click on the app/res folder, then click on **New** and then click on **Image Asset**
 - In the Icon Type field select **Launcher Icons (Adaptive and Legacy)**
-- In the path field, select `logo_android.png` file which is in `/img/` folder
+- In the path field, select `icon_android.png` file which is in `/img/` folder
 - Once done, click on the **Next** button and then on the **Finish** button
 
+## 3rd-party guides
 
+- https://punya.co.uk/blog/9-development/16-una-mobile-app-development from [cnayl](https://una.io/page/view-persons-profile?id=18944)
 

+ 2 - 2
android/gradle.properties

@@ -22,5 +22,5 @@ android.enableJetifier=true
 
 MYAPP_RELEASE_STORE_FILE=una-release-key.keystore
 MYAPP_RELEASE_KEY_ALIAS=una
-MYAPP_RELEASE_STORE_PASSWORD=***REMOVED***
-MYAPP_RELEASE_KEY_PASSWORD=***REMOVED***
+MYAPP_RELEASE_STORE_PASSWORD=
+MYAPP_RELEASE_KEY_PASSWORD=