androidlocalytics

Integrating Localytics - Project Number


I'm currently trying to integrate Localytics into my Android app. In step 5, they need a project number. How do I find this?

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
}

Solution

  • YOUR_PROJECT_NUMBER is your Google API Project Number.

    Localytics Integration

    Documentation - Create a Google API project and enable GCM