-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,10 @@ android { | |
signingConfigs { | ||
playStore | ||
} | ||
compileSdkVersion 33 | ||
buildToolsVersion '33.0.0' | ||
compileSdk 34 | ||
defaultConfig { | ||
minSdkVersion 21 | ||
targetSdkVersion 30 | ||
targetSdkVersion 33 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
maniac103
Author
Collaborator
|
||
versionCode 73 | ||
versionName "4.6.10" | ||
applicationId "com.gh4a" | ||
|
@@ -42,11 +41,8 @@ android { | |
buildTypes { | ||
debug { | ||
applicationIdSuffix '.debug' | ||
zipAlignEnabled true | ||
} | ||
release { | ||
zipAlignEnabled true | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
signingConfig signingConfigs.playStore | ||
} | ||
|
@@ -57,18 +53,21 @@ android { | |
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
namespace 'com.gh4a' | ||
buildFeatures { | ||
buildConfig true | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation 'androidx.appcompat:appcompat:1.4.1' | ||
implementation 'androidx.appcompat:appcompat:1.7.0' | ||
implementation 'androidx.cardview:cardview:1.0.0' | ||
implementation 'androidx.preference:preference:1.2.0' | ||
implementation 'androidx.browser:browser:1.4.0' | ||
implementation 'androidx.preference:preference:1.2.1' | ||
implementation 'androidx.browser:browser:1.8.0' | ||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' | ||
implementation 'androidx.print:print:1.0.0' | ||
implementation 'androidx.recyclerview:recyclerview:1.2.1' | ||
implementation 'androidx.work:work-runtime:2.7.1' | ||
implementation 'com.google.android.material:material:1.6.0' | ||
implementation 'androidx.recyclerview:recyclerview:1.3.2' | ||
implementation 'androidx.work:work-runtime:2.9.0' | ||
implementation 'com.google.android.material:material:1.12.0' | ||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' | ||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.4' | ||
implementation 'com.squareup.retrofit2:converter-moshi:2.6.4' | ||
|
@@ -93,7 +92,7 @@ dependencies { | |
} | ||
implementation 'com.github.Tunous:MarkdownEdit:1.0.0' | ||
implementation 'com.github.qoqa:traceur:2.2.12' | ||
testImplementation 'junit:junit:4.13.1' | ||
testImplementation 'junit:junit:4.13.2' | ||
testImplementation 'org.robolectric:robolectric:4.4' | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -323,9 +323,11 @@ private void showSummaryNotification(NotificationManagerCompat nm, | |
.build(); | ||
|
||
PendingIntent contentIntent = PendingIntent.getActivity(context, 0, | ||
HomeActivity.makeIntent(context, R.id.notifications), 0); | ||
HomeActivity.makeIntent(context, R.id.notifications), | ||
PendingIntent.FLAG_IMMUTABLE); | ||
PendingIntent deleteIntent = PendingIntent.getService(context, 0, | ||
NotificationHandlingService.makeMarkNotificationsSeenIntent(context), 0); | ||
NotificationHandlingService.makeMarkNotificationsSeenIntent(context), | ||
PendingIntent.FLAG_IMMUTABLE); | ||
NotificationCompat.Builder builder = makeBaseBuilder() | ||
.setGroup(GROUP_ID_GITHUB) | ||
This comment has been minimized.
Sorry, something went wrong.
NeMeC777
|
||
.setGroupSummary(true) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
android.enableJetifier=true | ||
android.nonFinalResIds=false | ||
android.nonTransitiveRClass=false | ||
android.useAndroidX=true | ||
org.gradle.jvmargs=-Xmx2g |
@maniac103 I believe that we'll hit the notification trampoline restriction by bumping the target SDK. Both
EventReceiver
andNotificationHandlingService
callstartActivity
in response to notification clicks, which is disallowed for apps targeting Android 12 and higher.