gcmnetworkmanager-android-example
gcmnetworkmanager-android-example copied to clipboard
OneOff doesn't work, while repeat works fine...
I've updated everything when importing, yet it doesn't let the OneOff task to work.
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
applicationId "cz.jacktech.gcmnetworkmanager"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.android.support:design:25.2.0'
compile 'com.google.android.gms:play-services-gcm:10.2.0'
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Hi, I no longer update this repo as I no longer use GCM Network Manager, nor I use the new Firebase Scheduler. As result, I can't help you resolve your issue.
ok thanks