Compare commits
13 Commits
a1c922ef25
...
f08de2bcee
Author | SHA1 | Date |
---|---|---|
Lee | f08de2bcee | |
Lee | eebc8fe7c0 | |
Lee | a0919e2d9f | |
Lee | b55fe52aef | |
Lee | 71ef6af5ac | |
Lee | 4bd5b42d2d | |
Lee | 17e8b472f9 | |
Lee | d878ed5ca9 | |
Lee | 9fbd631c7d | |
Lee | 8008630814 | |
Lee | 90006991af | |
Lee | 68a13346de | |
Lee | 8e7dfa2edb |
|
@ -37,6 +37,7 @@ jobs:
|
||||||
cache-dependency-path: ${{ github.workspace }}/apps/skolplattformen-app-new/package-lock.json
|
cache-dependency-path: ${{ github.workspace }}/apps/skolplattformen-app-new/package-lock.json
|
||||||
- name: set npm version
|
- name: set npm version
|
||||||
run: npm install -g npm@9.6.0 && echo "secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} workspace= ${{ github.workspace }} secrets.MAPS_API_KEY=${{secrets.MAPS_API_KEY}}"
|
run: npm install -g npm@9.6.0 && echo "secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} secrets.GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} workspace= ${{ github.workspace }} secrets.MAPS_API_KEY=${{secrets.MAPS_API_KEY}}"
|
||||||
|
- run: cd apps/skolplattformen-app-new/android && bundle install
|
||||||
- name: install node modules
|
- name: install node modules
|
||||||
run: cd apps/skolplattformen-app-new && npm ci
|
run: cd apps/skolplattformen-app-new && npm ci
|
||||||
- name: Setup local.properties
|
- name: Setup local.properties
|
||||||
|
@ -48,10 +49,9 @@ jobs:
|
||||||
env:
|
env:
|
||||||
KEY_JSON: ${{ secrets.KEY_JSON }}
|
KEY_JSON: ${{ secrets.KEY_JSON }}
|
||||||
- run: cd apps/skolplattformen-app-new/android && bundle exec fastlane android beta
|
- run: cd apps/skolplattformen-app-new/android && bundle exec fastlane android beta
|
||||||
# env:
|
env:
|
||||||
# ENVFILE: .env
|
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
||||||
# SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
ALIAS_KEY_PASSWORD: ${{ secrets.ALIAS_KEY_PASSWORD }}
|
||||||
# ALIAS_KEY_PASSWORD: ${{ secrets.ALIAS_KEY_PASSWORD }}
|
|
||||||
- name: 'Store artifact native_debug_symbols.zip'
|
- name: 'Store artifact native_debug_symbols.zip'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
|
|
|
@ -31,8 +31,8 @@ local.properties
|
||||||
*.iml
|
*.iml
|
||||||
*.hprof
|
*.hprof
|
||||||
.cxx/
|
.cxx/
|
||||||
*.keystore
|
|
||||||
!debug.keystore
|
!debug.keystore
|
||||||
|
release/
|
||||||
|
|
||||||
# node.js
|
# node.js
|
||||||
#
|
#
|
||||||
|
@ -66,4 +66,6 @@ yarn-error.log
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
|
|
||||||
libraries.json
|
libraries.json
|
||||||
|
|
||||||
|
keys.json
|
|
@ -21,7 +21,7 @@ GEM
|
||||||
artifactory (3.0.15)
|
artifactory (3.0.15)
|
||||||
atomos (0.1.3)
|
atomos (0.1.3)
|
||||||
aws-eventstream (1.2.0)
|
aws-eventstream (1.2.0)
|
||||||
aws-partitions (1.838.0)
|
aws-partitions (1.841.0)
|
||||||
aws-sdk-core (3.185.1)
|
aws-sdk-core (3.185.1)
|
||||||
aws-eventstream (~> 1, >= 1.0.2)
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
aws-partitions (~> 1, >= 1.651.0)
|
aws-partitions (~> 1, >= 1.651.0)
|
||||||
|
|
|
@ -88,6 +88,12 @@ android {
|
||||||
keyAlias 'androiddebugkey'
|
keyAlias 'androiddebugkey'
|
||||||
keyPassword 'android'
|
keyPassword 'android'
|
||||||
}
|
}
|
||||||
|
release {
|
||||||
|
storeFile file('release.keystore')
|
||||||
|
storePassword 'leeandseb'
|
||||||
|
keyAlias 'my-key-alias'
|
||||||
|
keyPassword 'leeandseb'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
|
@ -96,8 +102,8 @@ android {
|
||||||
release {
|
release {
|
||||||
// Caution! In production, you need to generate your own keystore file.
|
// Caution! In production, you need to generate your own keystore file.
|
||||||
// see https://reactnative.dev/docs/signed-apk-android.
|
// see https://reactnative.dev/docs/signed-apk-android.
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled enableProguardInReleaseBuilds
|
minifyEnabled true
|
||||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -4,7 +4,7 @@
|
||||||
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
||||||
* directory of this source tree.
|
* directory of this source tree.
|
||||||
*/
|
*/
|
||||||
package com.app;
|
package com.oppna_skolplattformen_new.app;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import com.facebook.flipper.android.AndroidFlipperClient;
|
import com.facebook.flipper.android.AndroidFlipperClient;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.oppna_skolplattformen_new.app">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.app;
|
package com.oppna_skolplattformen_new.app;
|
||||||
|
|
||||||
import com.facebook.react.ReactActivity;
|
import com.facebook.react.ReactActivity;
|
||||||
import com.facebook.react.ReactActivityDelegate;
|
import com.facebook.react.ReactActivityDelegate;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.app;
|
package com.oppna_skolplattformen_new.app;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import com.facebook.react.PackageList;
|
import com.facebook.react.PackageList;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
|
||||||
* directory of this source tree.
|
* directory of this source tree.
|
||||||
*/
|
*/
|
||||||
package com.app;
|
package com.oppna_skolplattformen_new.app;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import com.facebook.react.ReactInstanceManager;
|
import com.facebook.react.ReactInstanceManager;
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# Filename: android/fastlane/Appfile
|
json_key_file("key.json")
|
||||||
|
package_name("com.oppna_skolplattformen_new.app")
|
||||||
json_key_file("key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
|
|
||||||
package_name("com.oppna_skolplattformen_new.app") # EDIT: The bundle identifier of your app
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ platform :android do
|
||||||
|
|
||||||
|
|
||||||
# Dir.pwd when running through Fastlane is app/android/fastlane
|
# Dir.pwd when running through Fastlane is app/android/fastlane
|
||||||
releaseFilePath = File.join(Dir.pwd, '..', 'app', "my-upload-key.keystore")
|
releaseFilePath = File.join(Dir.pwd, '..', 'app', "release.keystore")
|
||||||
mappingFilePath = File.join(
|
mappingFilePath = File.join(
|
||||||
Dir.pwd,
|
Dir.pwd,
|
||||||
"..",
|
"..",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "app",
|
"name": "oppna_skolplattformen_new",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue