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

07-24 09:20