firebase-performance

If I start a Firebase trace and don't ever stop it? Will it cause issues on Android?

强颜欢笑 提交于 2021-02-10 05:41:05
问题 I'm using Firebase Performance Monitoring SDK (on Android, but will also on iOS) and for one particular use case it's hard to know whether a started Trace will ever be stopped. And given there is no apparent way how to cancel an already running trace, I figured I'd just start it every single time and then eventually stop it only under the right circumstances. (and leave intact otherwise). Shall I expect issues? I figured the trace would not be logged if not stopped (that's what I need), but I

Firebase Performance crashes the app on the first call to NSURLSession

你。 提交于 2021-02-10 05:09:58
问题 I have just added Firebase Performance to my which is mainly Obj-C and has Firebase (Core + Analytics + Messaging + Config) I read in the docs that: Performance Monitoring does not support network requests made using the NSURLConnection class. However what's not expected is that the app crashes on the first call of NSURL* e.g. I'm using a lib called "Harpy" which checks for new version of the app in the AppStore and it crashes here: NSURLSession *session = [NSURLSession sharedSession]; // <--

Firebase Performance crashes the app on the first call to NSURLSession

懵懂的女人 提交于 2021-02-10 05:07:01
问题 I have just added Firebase Performance to my which is mainly Obj-C and has Firebase (Core + Analytics + Messaging + Config) I read in the docs that: Performance Monitoring does not support network requests made using the NSURLConnection class. However what's not expected is that the app crashes on the first call of NSURL* e.g. I'm using a lib called "Harpy" which checks for new version of the app in the AppStore and it crashes here: NSURLSession *session = [NSURLSession sharedSession]; // <--

Unable to get provider com.google.firebase.perf.provider.FirebasePerfProvider on pre-lollipop devices

血红的双手。 提交于 2020-06-27 08:57:46
问题 On all versions before v21 (i.e. 16-19), my app crashes on start because of the following error: E/AndroidRuntime: FATAL EXCEPTION: main java.lang.RuntimeException: Unable to get provider com.google.firebase.perf.provider.FirebasePerfProvider: java.lang.ClassNotFoundException: com.google.firebase.perf.provider.FirebasePerfProvider at android.app.ActivityThread.installProvider(ActivityThread.java:4563) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4190) at android

Illegal class file: Class module-info is missing a super type. Class file version 53

狂风中的少年 提交于 2020-04-08 04:01:47
问题 When I add firebase perf dependency into my project i am getting this error Illegal class file: Class module-info is missing a super type. Class file version 53. My Gradle and google services project-level dependencies are classpath 'com.android.tools.build:gradle:3.5.1' classpath 'com.google.gms:google-services:4.3.2' and I followed the exact steps mentioned in their docs https://firebase.google.com/docs/perf-mon/get-started-android. I have tried clean and rebuild and clearing the Android

Firebase Performance crashing in API 19 with Google Play Services 10.2.98

妖精的绣舞 提交于 2020-01-23 04:47:33
问题 This week I started testing the new Firebase Performance in my new app. Once I am using Firebase for other features like Auth and DB I already updated all packages to last 10.2.6 Firebase version and follow all pre req instructions. minAPI is 19. My problem is App is crashing only in API 19 with Google Play Services 10.2.98 in a real Galaxy Duos device running Android 4.4.1. When App starts it could not find firebase-perf in device. It is only happening with this package and in other devices

Android studio project not compiling after updating firebase-perf plugin (Class module-info is missing)

只愿长相守 提交于 2020-01-13 19:28:08
问题 everyone. I'm using gradle version 5.6.2. I updated my android studio project dependencies like this: dependencies { classpath 'com.android.tools.build:gradle:3.5.1' classpath 'com.google.gms:google-services:4.3.2' classpath "com.google.firebase:perf-plugin:1.3.1" } I apply the plugins like this: apply plugin: 'com.google.firebase.firebase-perf' apply plugin: 'com.google.gms.google-services' But now when I compile my project this error shows up: Illegal class file: Class module-info is

java.lang.SecurityException: Permission Denial: opening provider com.google.android.gms.phenotype.provider.ConfigurationProvider from ProcessRecord

人走茶凉 提交于 2020-01-04 09:03:59
问题 This is very similar to SecurityException Permission Denial: opening provider com.google.android.gms.phenotype.provider.ConfigurationProvider But it occurs on firebase version 17.0.0 Caused by java.lang.SecurityException: Permission Denial: opening provider com.google.android.gms.phenotype.provider.ConfigurationProvider from ProcessRecord{29c68770 31248:fm.qingting.qtradio/u0a77} (pid=31248, uid=10077) that is not exported from uid 10126 at android.os.Parcel.readException + 1559(Parcel.java

How can I get the URL and method of RetroFit request on onSubscribe of RxJava 2 custom operator?

自作多情 提交于 2019-12-24 03:27:44
问题 So I'm trying to integrate Firebase performance for Http requests and add them manually as they show here (step 9). I'm using Retrofit 2 and RxJava 2, so I had the idea of doing a custom operator, check code below: Retrofit 2 Client @GET("branch-{environment}/v2/branches") fun getBranch(@Path("environment") environment: String, @Query("location") location: String, @Query("fulfilment_type") fulfilmentType: String): Single<Response<GetBranchResponse>> RxJava Call to the Retrofit Client private