Skip to content

Commit 2659154

Browse files
committed
Update CountlyFlutterPlugin.java
1 parent f04358d commit 2659154

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -383,19 +383,6 @@ public void onMethodCall(MethodCall call, final Result result) {
383383
}
384384
}
385385
CountlyPush.init(activity.getApplication(), pushTokenType);
386-
// FirebaseApp.initializeApp(context);
387-
// FirebaseInstanceId.getInstance().getInstanceId()
388-
// .addOnCompleteListener(new OnCompleteListener<InstanceIdResult>() {
389-
// @Override
390-
// public void onComplete(@NonNull Task<InstanceIdResult> task) {
391-
// if (!task.isSuccessful()) {
392-
// log("getInstanceId failed", task.getException(), LogLevel.WARNING);
393-
// return;
394-
// }
395-
// String token = task.getResult().getToken();
396-
// CountlyPush.onTokenRefresh(token);
397-
// }
398-
// });
399386
result.success(" askForNotificationPermission!");
400387
} else if ("pushTokenType".equals(call.method)) {
401388
String tokenType = args.getString(0);

0 commit comments

Comments
 (0)