Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified downloads/Firebase.release.aar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public List<String> getPluginMethods() {
// ===== Cloud Messaging
methods.add("cloudmessaging_subscribe_to_topic");
methods.add("cloudmessaging_unsubscribe_from_topic");
methods.add("cloudmessaging_get_token");

return methods;
}
Expand Down Expand Up @@ -357,6 +358,11 @@ public void run() {
}
});
}

public String cloudmessaging_get_token() {
return CloudMessaging.getInstance(godot).getToken();
}

// ===== Cloud Messaging ==========================================================================================

// Forwarded callbacks you can reimplement, as SDKs often need them.
Expand Down