Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playing Around with Problematic Parts #239

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 1 addition & 26 deletions Assets/Countly/Plugins/Android/Notifications.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ly.count.unity.push_fcm">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true">

<service android:name="ly.count.unity.push_fcm.RemoteNotificationsService">
<service android:name="ly.count.unity.push_fcm.RemoteNotificationsService"
android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
Expand Down
40 changes: 25 additions & 15 deletions Assets/Countly/Plugins/Android/Notifications/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
apply plugin: 'com.android.library'

dependencies {
implementation fileTree(dir: 'bin', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.firebase:firebase-messaging:20.2.4'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.1'
}
}

apply plugin: 'com.android.library'

android {
namespace 'com.Countly.CountlyDotNetSDK'
compileSdkVersion 34
defaultConfig {
minSdkVersion 21
targetSdkVersion 34
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
Expand All @@ -15,14 +25,14 @@ android {
jniLibs.srcDirs = ['libs']
}
}

compileSdkVersion 30
buildToolsVersion '29.0.2'
defaultConfig {
targetSdkVersion 19
}

lintOptions {
abortOnError false
// Add this block
repositories {
google()
mavenCentral()
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.google.firebase:firebase-messaging:24.0.1'
}
8 changes: 8 additions & 0 deletions Assets/Countly/Plugins/Android/Notifications/gradle.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions Assets/Countly/Plugins/Android/Notifications/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
#Sat Sep 21 16:27:40 TRT 2024
android.enableJetifier=true
android.useAndroidX=true

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
android.useAndroidX=true
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading