~singpolyma/cheogram-android

b3ccb21f780d6dace2a70de3216d5267ea9d8fd7 — Stephen Paul Weber 2 years ago 6d44d44
Optional sentry support
3 files changed, 5 insertions(+), 0 deletions(-)

M .builds/debian-stable.yml
M build.gradle
M src/cheogram/AndroidManifest.xml
M .builds/debian-stable.yml => .builds/debian-stable.yml +3 -0
@@ 22,6 22,9 @@ tasks:
    echo y | android/cmdline-tools/tools/bin/sdkmanager "build-tools;29.0.2"
    touch ~/.android/repositories.cfg
    yes | android/cmdline-tools/tools/bin/sdkmanager --licenses
- sentry: |
    cd cheogram-android
    sed -ie 's/<!-- INSERT -->/<meta-data android:name="io.sentry.dsn" android:value="https:\/\/680d470d348a4cc494bf2198eed30c49@o559641.ingest.sentry.io\/6221823" \/>/' src/cheogram/AndroidManifest.xml
- build: |
    cd cheogram-android
    ./gradlew assembleCheogramFreeSystemDebug

M build.gradle => build.gradle +1 -0
@@ 92,6 92,7 @@ dependencies {
    implementation 'com.google.guava:guava:30.1.1-android'
    quicksyImplementation 'io.michaelrocks:libphonenumber-android:8.12.36'
    implementation urlFile('https://cloudflare-ipfs.com/ipfs/QmeqMiLxHi8AAjXobxr3QTfa1bSSLyAu86YviAqQnjxCjM/libwebrtc.aar', 'libwebrtc.aar')
    implementation 'io.sentry:sentry-android:5.6.1'
}

ext {

M src/cheogram/AndroidManifest.xml => src/cheogram/AndroidManifest.xml +1 -0
@@ 6,6 6,7 @@
    <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />

    <application tools:ignore="GoogleAppIndexingWarning">
        <!-- INSERT -->

        <service android:name="com.cheogram.android.ConnectionService"
            android:label="Cheogram"