-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from bugfest/fdroid-flavor
F-Droid flavor (without Google's Firebase)
- Loading branch information
Showing
13 changed files
with
203 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
app/src/amazon/java/com/neilturner/aerialviews/firebase/Firebase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.neilturner.aerialviews.firebase; | ||
|
||
import androidx.annotation.NonNull | ||
import com.google.firebase.analytics.analytics | ||
import com.google.firebase.crashlytics.crashlytics | ||
import com.google.firebase.Firebase as googleFirebase | ||
|
||
class Firebase () { | ||
object crashlytics { | ||
fun recordException(@NonNull throwable: Throwable) { | ||
googleFirebase.crashlytics.recordException(throwable) | ||
} | ||
} | ||
companion object { | ||
val analytics = googleFirebase.analytics | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
app/src/amazon/java/com/neilturner/aerialviews/firebase/FirebaseAnalytics.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.neilturner.aerialviews.firebase | ||
|
||
import com.google.firebase.analytics.FirebaseAnalytics as google_FirebaseAnalytics | ||
|
||
class FirebaseAnalytics { | ||
class Param :google_FirebaseAnalytics.Param() { | ||
companion object { | ||
val SCREEN_NAME = google_FirebaseAnalytics.Param.SCREEN_NAME | ||
val SCREEN_CLASS = google_FirebaseAnalytics.Param.SCREEN_CLASS | ||
} | ||
} | ||
|
||
class Event :google_FirebaseAnalytics.Event() { | ||
companion object { | ||
val SCREEN_VIEW = google_FirebaseAnalytics.Event.SCREEN_VIEW | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
app/src/beta/java/com/neilturner/aerialviews/firebase/Firebase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.neilturner.aerialviews.firebase; | ||
|
||
import androidx.annotation.NonNull | ||
import com.google.firebase.analytics.analytics | ||
import com.google.firebase.crashlytics.crashlytics | ||
import com.google.firebase.Firebase as googleFirebase | ||
|
||
class Firebase () { | ||
object crashlytics { | ||
fun recordException(@NonNull throwable: Throwable) { | ||
googleFirebase.crashlytics.recordException(throwable) | ||
} | ||
} | ||
companion object { | ||
val analytics = googleFirebase.analytics | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
app/src/beta/java/com/neilturner/aerialviews/firebase/FirebaseAnalytics.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.neilturner.aerialviews.firebase | ||
|
||
import com.google.firebase.analytics.FirebaseAnalytics as google_FirebaseAnalytics | ||
|
||
class FirebaseAnalytics { | ||
class Param :google_FirebaseAnalytics.Param() { | ||
companion object { | ||
val SCREEN_NAME = google_FirebaseAnalytics.Param.SCREEN_NAME | ||
val SCREEN_CLASS = google_FirebaseAnalytics.Param.SCREEN_CLASS | ||
} | ||
} | ||
|
||
class Event :google_FirebaseAnalytics.Event() { | ||
companion object { | ||
val SCREEN_VIEW = google_FirebaseAnalytics.Event.SCREEN_VIEW | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
app/src/fdroid/java/com/neilturner/aerialviews/firebase/Firebase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.neilturner.aerialviews.firebase; | ||
|
||
import android.os.Bundle | ||
import androidx.annotation.NonNull | ||
|
||
class Firebase () { | ||
object crashlytics { | ||
fun recordException(@NonNull throwable: Throwable) { | ||
} | ||
} | ||
|
||
object analytics { | ||
fun logEvent(x: String, bundle: Bundle) { | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
app/src/fdroid/java/com/neilturner/aerialviews/firebase/FirebaseAnalytics.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.neilturner.aerialviews.firebase | ||
|
||
class FirebaseAnalytics { | ||
class Param { | ||
companion object { | ||
val SCREEN_NAME = "SCREEN_NAME" | ||
val SCREEN_CLASS = "SCREEN_NAME" | ||
} | ||
} | ||
|
||
class Event { | ||
companion object { | ||
val SCREEN_VIEW = "SCREEN_VIEW" | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
app/src/github/java/com/neilturner/aerialviews/firebase/Firebase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.neilturner.aerialviews.firebase; | ||
|
||
import androidx.annotation.NonNull | ||
import com.google.firebase.analytics.analytics | ||
import com.google.firebase.crashlytics.crashlytics | ||
import com.google.firebase.Firebase as googleFirebase | ||
|
||
class Firebase () { | ||
object crashlytics { | ||
fun recordException(@NonNull throwable: Throwable) { | ||
googleFirebase.crashlytics.recordException(throwable) | ||
} | ||
} | ||
companion object { | ||
val analytics = googleFirebase.analytics | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
app/src/github/java/com/neilturner/aerialviews/firebase/FirebaseAnalytics.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.neilturner.aerialviews.firebase | ||
|
||
import com.google.firebase.analytics.FirebaseAnalytics as google_FirebaseAnalytics | ||
|
||
class FirebaseAnalytics { | ||
class Param :google_FirebaseAnalytics.Param() { | ||
companion object { | ||
val SCREEN_NAME = google_FirebaseAnalytics.Param.SCREEN_NAME | ||
val SCREEN_CLASS = google_FirebaseAnalytics.Param.SCREEN_CLASS | ||
} | ||
} | ||
|
||
class Event :google_FirebaseAnalytics.Event() { | ||
companion object { | ||
val SCREEN_VIEW = google_FirebaseAnalytics.Event.SCREEN_VIEW | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
app/src/googleplay/java/com/neilturner/aerialviews/firebase/Firebase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.neilturner.aerialviews.firebase; | ||
|
||
import androidx.annotation.NonNull | ||
import com.google.firebase.analytics.analytics | ||
import com.google.firebase.crashlytics.crashlytics | ||
import com.google.firebase.Firebase as googleFirebase | ||
|
||
class Firebase () { | ||
object crashlytics { | ||
fun recordException(@NonNull throwable: Throwable) { | ||
googleFirebase.crashlytics.recordException(throwable) | ||
} | ||
} | ||
companion object { | ||
val analytics = googleFirebase.analytics | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
app/src/googleplay/java/com/neilturner/aerialviews/firebase/FirebaseAnalytics.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.neilturner.aerialviews.firebase | ||
|
||
import com.google.firebase.analytics.FirebaseAnalytics as google_FirebaseAnalytics | ||
|
||
class FirebaseAnalytics { | ||
class Param :google_FirebaseAnalytics.Param() { | ||
companion object { | ||
val SCREEN_NAME = google_FirebaseAnalytics.Param.SCREEN_NAME | ||
val SCREEN_CLASS = google_FirebaseAnalytics.Param.SCREEN_CLASS | ||
} | ||
} | ||
|
||
class Event :google_FirebaseAnalytics.Event() { | ||
companion object { | ||
val SCREEN_VIEW = google_FirebaseAnalytics.Event.SCREEN_VIEW | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters