urbanairship-gcm

Urban Airship Android SDK GCM plugin

License

License

GroupId

GroupId

com.urbanairship.android
ArtifactId

ArtifactId

urbanairship-gcm
Last Version

Last Version

9.7.3
Release Date

Release Date

Type

Type

aar
Description

Description

urbanairship-gcm
Urban Airship Android SDK GCM plugin
Project URL

Project URL

https://github.com/urbanairship/android-library
Source Code Management

Source Code Management

https://github.com/urbanairship/android-library

Download urbanairship-gcm

How to add to project

<!-- https://jarcasting.com/artifacts/com.urbanairship.android/urbanairship-gcm/ -->
<dependency>
    <groupId>com.urbanairship.android</groupId>
    <artifactId>urbanairship-gcm</artifactId>
    <version>9.7.3</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.urbanairship.android/urbanairship-gcm/
implementation 'com.urbanairship.android:urbanairship-gcm:9.7.3'
// https://jarcasting.com/artifacts/com.urbanairship.android/urbanairship-gcm/
implementation ("com.urbanairship.android:urbanairship-gcm:9.7.3")
'com.urbanairship.android:urbanairship-gcm:aar:9.7.3'
<dependency org="com.urbanairship.android" name="urbanairship-gcm" rev="9.7.3">
  <artifact name="urbanairship-gcm" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.urbanairship.android', module='urbanairship-gcm', version='9.7.3')
)
libraryDependencies += "com.urbanairship.android" % "urbanairship-gcm" % "9.7.3"
[com.urbanairship.android/urbanairship-gcm "9.7.3"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.android.gms » play-services-gcm jar 16.0.0
com.urbanairship.android : urbanairship-core jar 9.7.3

Project Modules

There are no modules declared in this project.

Android Airship SDK

Airship SDK for Android.

Resources

Requirements

  • minSdkVersion 16
  • compileSdkVersion 29

Quickstart

  1. Include Airship into the build.gradle file:
   dependencies {
     def airshipVersion = "14.1.0"

     // FCM push provider
     implementation "com.urbanairship.android:urbanairship-fcm:$airshipVersion"

     // Message Center
     implementation "com.urbanairship.android:urbanairship-message-center:$airshipVersion"

     // In-App Automation
     implementation "com.urbanairship.android:urbanairship-automation:$airshipVersion"
   }
  1. Add Firebase to your app.

  2. Create a new airshipconfig.properties file with your application’s settings:

   developmentAppKey = Your Development App Key
   developmentAppSecret = Your Development App Secret

   productionAppKey = Your Production App Key
   productionAppSecret = Your Production Secret

   # LogLevel is "VERBOSE", "DEBUG", "INFO", "WARN", "ERROR" or "ASSERT"
   developmentLogLevel = DEBUG
   productionLogLevel = ERROR

   # Notification customization
   notificationIcon = ic_notification
   notificationAccentColor = #ff0000

   # Optional - Set the default channel
   notificationChannel = "customChannel"
  1. Set the Autopilot meta-data in the AndroidManifest.xml file:
      <meta-data android:name="com.urbanairship.autopilot"
               android:value="com.urbanairship.Autopilot"/>

Sample Application

A sample application is available that showcases the majority of the features offered by the Airship SDK. Before running the sample, copy the file in sample/src/main/assets/airshipconfig.properties.sample to sample/src/main/assets/airshipconfig.properties and modify the properties to match your application's config.

com.urbanairship.android

Airship

Versions

Version
9.7.3
9.7.2
9.7.1
9.7.0
9.6.1
9.6.0
9.5.6
9.5.5
9.5.4
9.5.3
9.5.2
9.5.1
9.5.0
9.4.2
9.4.1
9.4.0
9.3.2
9.3.1
9.3.0
9.2.0
9.1.1
9.1.0