Posts

Showing posts with the label free android

Generate a Google Server API Key

Image
Get paid to share your links! Generate a Google Server API Key Your  Google Server API Key  and  Google Project Number  are used to send push notifications to  ANDROID devices. To begin, we'll obtain a Google Server API Key and Google Project Number. These keys allow OneSignal to use Google's web push services for your notifications. 1. Create a Firebase project 1.1  Visit the  Firebase Console   and sign in with your Google account. 1.2  Press "CREATE NEW PROJECT" or select an existing one below. 1.3  Enter a project name and press "CREATE PROJECT". 2. Getting your Firebase Cloud Messaging token and Sender ID 2.1  Click the Gear icon in the top left and select "Project settings". 2.2  Select the "CLOUD MESSAGING" tab. 2.3  Save the two values listed: You'll need your  Server key , also known as the  Google Server API key . You'll need your  Sender ID ...

Free Push Notification using onesignal - Android Part 1

Image
OneSignal Get paid to share your links! OneSignal is a high volume and reliable push notification service for websites and mobile applications. Why should I use OneSignal ? EASY TO USE FREE PLATFORM SUPPORT ADVANCED FUNCTIONALITY AUTOMATED NOTIFICATIONS UNLIMITED Onesignal screenshots: Android Setup: This tutorial only for Android studio Projects.you can use amazon SDK also. Before going to setup one signal SDK we need to get Google server API key.   Gradle Setup : Open your  build.gradle  (Module: app) file and add the following to your dependencies. Gradle dependencies { // OneSignal SDK compile 'com.onesignal:OneSignal:[3.5.3,4.0.0)' } In the same  build.gradle  file, add the following in your  android  >  defaultConfig  section. Update  PUT YOUR ONESIGNAL APP ID HERE  with your OneSignal app i...