Compare commits

...

13 Commits

Author SHA1 Message Date
Lee f08de2bcee refactor(amended gradle)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 16:30:28 +02:00
Lee eebc8fe7c0 refactor(amended gradle)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 16:15:25 +02:00
Lee a0919e2d9f refactor(amended keystore)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 15:45:33 +02:00
Lee b55fe52aef refactor(amended release signing options)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 15:11:02 +02:00
Lee 71ef6af5ac refactor(fixed typo)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:36:09 +02:00
Lee 4bd5b42d2d refactor(added bogus passwords)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:32:39 +02:00
Lee 17e8b472f9 refactor(removed package attribute as its deprecated)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:22:21 +02:00
Lee d878ed5ca9 refactor(updated package names)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:21:59 +02:00
Lee 9fbd631c7d refactor(updated gems)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:21:31 +02:00
Lee 8008630814 refactor(changed app name)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:21:03 +02:00
Lee 90006991af refactor(added bundle install command)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:20:45 +02:00
Lee 68a13346de refactor(amended git ignore)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:19:52 +02:00
Lee 8e7dfa2edb refactor(changed package name)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-10-26 14:19:36 +02:00
13 changed files with 26 additions and 22 deletions

View File

@ -37,6 +37,7 @@ jobs:
cache-dependency-path: ${{ github.workspace }}/apps/skolplattformen-app-new/package-lock.json
- 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: cd apps/skolplattformen-app-new/android && bundle install
- name: install node modules
run: cd apps/skolplattformen-app-new && npm ci
- name: Setup local.properties
@ -48,10 +49,9 @@ jobs:
env:
KEY_JSON: ${{ secrets.KEY_JSON }}
- run: cd apps/skolplattformen-app-new/android && bundle exec fastlane android beta
# env:
# ENVFILE: .env
# SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
# ALIAS_KEY_PASSWORD: ${{ secrets.ALIAS_KEY_PASSWORD }}
env:
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
ALIAS_KEY_PASSWORD: ${{ secrets.ALIAS_KEY_PASSWORD }}
- name: 'Store artifact native_debug_symbols.zip'
uses: actions/upload-artifact@v3
if: ${{ failure() }}

View File

@ -31,8 +31,8 @@ local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore
release/
# node.js
#
@ -66,4 +66,6 @@ yarn-error.log
/coverage
libraries.json
libraries.json
keys.json

View File

@ -21,7 +21,7 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.838.0)
aws-partitions (1.841.0)
aws-sdk-core (3.185.1)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0)

View File

@ -88,6 +88,12 @@ android {
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
storeFile file('release.keystore')
storePassword 'leeandseb'
keyAlias 'my-key-alias'
keyPassword 'leeandseb'
}
}
buildTypes {
debug {
@ -96,8 +102,8 @@ android {
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
signingConfig signingConfigs.release
minifyEnabled true
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}

View File

@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.app;
package com.oppna_skolplattformen_new.app;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;

View File

@ -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" />

View File

@ -1,4 +1,4 @@
package com.app;
package com.oppna_skolplattformen_new.app;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;

View File

@ -1,4 +1,4 @@
package com.app;
package com.oppna_skolplattformen_new.app;
import android.app.Application;
import com.facebook.react.PackageList;

View File

@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.app;
package com.oppna_skolplattformen_new.app;
import android.content.Context;
import com.facebook.react.ReactInstanceManager;

View File

@ -1,6 +1,2 @@
# Filename: android/fastlane/Appfile
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
json_key_file("key.json")
package_name("com.oppna_skolplattformen_new.app")

View File

@ -37,7 +37,7 @@ platform :android do
# 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(
Dir.pwd,
"..",

View File

@ -1,5 +1,5 @@
{
"name": "app",
"name": "oppna_skolplattformen_new",
"version": "0.0.1",
"private": true,
"scripts": {