Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
migrate push plugin to androidx
Browse files Browse the repository at this point in the history
  • Loading branch information
vfa-cancc committed Dec 26, 2019
1 parent 317f5be commit 8025b52
Show file tree
Hide file tree
Showing 30 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion NcmbFcmPlugin/build.gradle
Expand Up @@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions NcmbFcmPlugin/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Fri Nov 06 12:31:10 JST 2015
#Thu Sep 12 15:10:05 ICT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
13 changes: 7 additions & 6 deletions NcmbFcmPlugin/ncmbfcmplugin/build.gradle
@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 14
Expand All @@ -24,10 +24,11 @@ repositories {
}

dependencies {
compileOnly fileTree(include: ['*.jar'], dir: '../libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.firebase:firebase-messaging:17.1.0'
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.google.android.gms:play-services-base:17.0.0'
compileOnly fileTree(dir: 'src/libs', include: ['*.aar', '*.jar'], exclude: [])
}

android.libraryVariants.all { variant ->
Expand Down
Binary file modified NcmbFcmPlugin/ncmbfcmplugin/release/ncmbfcmplugin.aar
Binary file not shown.
Expand Up @@ -20,9 +20,10 @@
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.annotation.NonNull;
import android.util.Log;

import androidx.annotation.NonNull;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GoogleApiAvailability;
import com.google.android.gms.tasks.OnCanceledListener;
Expand Down
Expand Up @@ -25,9 +25,10 @@
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android.util.Log;

import androidx.core.app.NotificationCompat;

import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
import com.unity3d.player.UnityPlayer;
Expand Down
Binary file not shown.
Binary file added ncmb_unity/Assets/Plugins/Android/core-1.1.0.aar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified ncmb_unity/Assets/Plugins/Android/ncmbfcmplugin.aar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 8025b52

Please sign in to comment.