Optional sentry support

This commit is contained in:
Stephen Paul Weber 2022-02-21 10:54:36 -05:00
parent 6d44d443ba
commit b3ccb21f78
No known key found for this signature in database
GPG key ID: D11C2911CE519CDE
3 changed files with 5 additions and 0 deletions

View file

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

View file

@ -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 {

View file

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