android - 集成 Localytics - 项目编号

标签 android localytics

我目前正在尝试将 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/

相关文章:

ios - 崩溃”无法转换为“LLAppDelegateProxy”类型的值”

r - 如何使用 R 中的 httr 包使用 Localytics 中的数据提取数据?

android - 在布局 xml 中根据 android 中的宽度设置 View 高度

android - 来自 xml 的 EditText 效果

android - 如何从 Android 中的模型类获取特定变量的大小?

Android-单击图像的一部分

android - 如何在Kotlin中使用find扩展功能并将其索引存储在lambda中

ios - 无法转换类型 'LLAppDelegateProxy' 的值