mobile: remove gms

This commit is contained in:
Ammar Ahmed
2026-03-30 16:41:50 +05:00
parent ff2bcc82b1
commit 5fe16ff7ff
3 changed files with 2 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
name: Preview Notesnook Android (NNStaging)
name: Notesnook Android Preview
on:
pull_request:
@@ -66,7 +66,6 @@ jobs:
- name: Build arm64-v8a apk
run: |
cd apps/mobile/android
echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json
./gradlew assembleRelease -PreactNativeArchitectures=arm64-v8a -PstagingReleaseBuild=true -PprBuildNumber=${{ steps.build-number.outputs.timestamp }}
- name: Get app version
@@ -121,4 +120,4 @@ jobs:
with:
name: sourcemaps
path: |
apps/mobile/android/app/build/sourcemaps/**/*.map
apps/mobile/android/app/build/generated/sourcemaps/**/*.map

View File

@@ -5,10 +5,6 @@ apply plugin: 'kotlin-parcelize'
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
if (System.getenv("STAGING_BUILD") == "true") {
apply plugin: 'com.google.gms.google-services'
}
import com.android.build.OutputFile
import groovy.json.JsonSlurper
@@ -256,13 +252,6 @@ dependencies {
implementation jscFlavor
}
if (stagingReleaseBuild()) {
implementation platform('com.google.firebase:firebase-bom:34.11.0')
}
}
task deleteFiles(type: Delete) {

View File

@@ -24,7 +24,6 @@ buildscript {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath("com.google.gms:google-services:4.4.4")
}
}