Skip to content

Commit

Permalink
Fix setCustomKey
Browse files Browse the repository at this point in the history
Fix setCustomKey
  • Loading branch information
oaliaga committed Jul 20, 2023
1 parent cedb191 commit b0eb3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/prey/actions/picture/PictureUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public static HttpDataService getPicture(Context ctx) {
AudioManager mgr = null;
FirebaseApp.initializeApp(ctx);
FirebaseCrashlytics crashlytics = FirebaseCrashlytics.getInstance();
crashlytics.setCustomKey("devicekey", PreyConfig.getPreyConfig(ctx).getApiKey());
crashlytics.setCustomKey("apikey", PreyConfig.getPreyConfig(ctx).getDeviceId());
crashlytics.setCustomKey("devicekey", PreyConfig.getPreyConfig(ctx).getDeviceId());
crashlytics.setCustomKey("apikey", PreyConfig.getPreyConfig(ctx).getApiKey());
try {
SimpleDateFormat sdf=new SimpleDateFormat("yyyyMMddHHmmZ");
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M
Expand Down

0 comments on commit b0eb3c3

Please sign in to comment.