gpt4 book ai didi

android - 集成 Localytics - 项目编号

转载 作者:行者123 更新时间:2023-11-29 00:10:21 25 4
gpt4 key购买 nike

我目前正在尝试将 Localytics 集成到我的 Android 应用程序中。在第 5 步中,他们需要一个项目编号。我如何找到它?

If you are using Localytics Push Messaging, register for push notifications in onCreate().
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

// If you're using Localytics Push Messaging
Localytics.registerPush("YOUR_PROJECT_NUMBER");

// Activity Creation Code
}

最佳答案

YOUR_PROJECT_NUMBER 是您的 Google API 项目编号。

Localytics Integration

Documentation - Create a Google API project and enable GCM

关于android - 集成 Localytics - 项目编号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30734748/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com