All Projects → OneSignal → Onesignal Gradle Plugin

OneSignal / Onesignal Gradle Plugin

Licence: other
Use with OneSignal-Android-SDK to help integrate it into your Android Studio or Gradle project. https://onesignal.com

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Onesignal Gradle Plugin

Onesignal Ionic Example
Stars: ✭ 89 (+81.63%)
Mutual labels:  gcm, fcm, onesignal
React Native Notifee
⚛️ A feature rich notifications library for React Native Android & iOS, built by @invertase, the authors of @react-native-firebase.
Stars: ✭ 381 (+677.55%)
Mutual labels:  notifications, fcm, onesignal
PUSHTestFCM
[FireMonkey] Push test project
Stars: ✭ 17 (-65.31%)
Mutual labels:  notifications, gcm, fcm
react-native-notifee
Moved to https://github.com/invertase/notifee
Stars: ✭ 477 (+873.47%)
Mutual labels:  notifications, fcm, onesignal
Applozic Android Sdk
Android Real Time Chat & Messaging SDK
Stars: ✭ 611 (+1146.94%)
Mutual labels:  gcm, notifications, fcm
Onesignal Cordova Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Stars: ✭ 214 (+336.73%)
Mutual labels:  gcm, fcm, onesignal
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS.
Stars: ✭ 101 (+106.12%)
Mutual labels:  notifications, gcm, fcm
Onesignal Android Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native Android or Amazon app with OneSignal. https://onesignal.com
Stars: ✭ 503 (+926.53%)
Mutual labels:  gcm, fcm, onesignal
OneSignal-Ionic-Sample
No description or website provided.
Stars: ✭ 85 (+73.47%)
Mutual labels:  gcm, fcm, onesignal
andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (+69.39%)
Mutual labels:  notifications, gcm, fcm
azure-notificationhubs-java-backend
Azure Notification Hubs SDK for Java
Stars: ✭ 31 (-36.73%)
Mutual labels:  gcm, fcm
OneSignal-WordPress-Plugin
OneSignal is a free push notification service for web and mobile apps. This plugin makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Stars: ✭ 71 (+44.9%)
Mutual labels:  notifications, onesignal
Onesignal Website Sdk
OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Stars: ✭ 338 (+589.8%)
Mutual labels:  notifications, onesignal
Onesignal Ane
OneSignal extension for Adobe AIR (iOS & Android)
Stars: ✭ 39 (-20.41%)
Mutual labels:  notifications, onesignal
laravel-firebase
Laravel FCM (Firebase Cloud Messaging) Notification Channel
Stars: ✭ 25 (-48.98%)
Mutual labels:  notifications, fcm
Onesignal Ios Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Stars: ✭ 370 (+655.1%)
Mutual labels:  notifications, onesignal
FCMBundle
A Bundle for Symfony projects to send notifications in mobile devices through Firebase Cloud Messaging API
Stars: ✭ 43 (-12.24%)
Mutual labels:  notifications, fcm
Laravel Onesignal
OneSignal Push Notifications for Laravel
Stars: ✭ 369 (+653.06%)
Mutual labels:  notifications, onesignal
Pushnotification
PHP and Laravel Package to send push notifications to Android and IOS devices.
Stars: ✭ 395 (+706.12%)
Mutual labels:  gcm, fcm
Airnotifier
Push Notifications Server for Human Beings.
Stars: ✭ 522 (+965.31%)
Mutual labels:  notifications, fcm

OneSignal Gradle Plugin

This Gradle plugin helps make the OneSignal Android SDK compatible with your Android Studio / Gradle project. It automatically fixes and notifies you of required changes to make the OneSignal SDK compatible with your app.

Setup

  1. In your root build.gradle, under buildscript, add the following 2 new lines to your existing repositories and dependencies sections
buildscript {
    repositories {
        // ...
        maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal 
    }
    dependencies {
        // ...
        // OneSignal-Gradle-Plugin
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99]'
    }
}
  1. Add the following to the top of your app/build.gradle
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
  1. Android Studio - Sync gradle
  2. Clean and rebuild

Features

  • Automatically aligns versions of module dependencies under the same group. This fixes compile and runtime errors due to mismatched interdependencies. Applies to the following libraries:
    • com.google.android.gms
    • com.google.firebase
    • com.android.support
  • Ensures com.android.support is never higher than compileSdkVersion
  • Ensures a compatible OneSignal SDK version for the targetSdkVersion you're using
  • Ensures new enough OneSignal SDK is included when com.android.support is upgraded
  • Calculates intersecting range of 2 version ranges
    • Including backwards capability with Gradle 2.14.1
  • Future: Other warnings and checks specific to OneSignal such as app_id and notification icons

Compatibility

  • Recommend using AGP 3.0.0 or newer (Android Gradle Plugin) and Gradle 4.1 or newer.
    • Compatible with Gradle 2.14.1+ and AGP 2.2.3+
    • Tested up to Gradle 6.7.1 and AGP 4.1.1

Change Log

See this repository's release tags for a complete change log.

Issues

Please create a new issue on this repository's Github issue tracker for feature requests and bug reports related specifically to this plugin. For other OneSignal issues not related to this plugin please contact OneSignal support from the OneSignal.com dashboard.

Troubleshooting

You can add --info to ./gradlew commands such as ./gradlew app:dependencies --info to see log entries of version overrides being applied.

Pull Requests

Pull requests are welcome! Please fork, create a new branch, and open a pull request. Also please add a test to MainTest.groovy verify your changes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].