44 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1b3c2cd626 Bug 1960792 - Update Google Play Services Base to version 18.7.0. r=android-reviewers,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D245661
2025-04-18 12:45:54 +00:00
Jonathan Almeida
80aeec1aa7 Bug 1872229 - Fix minor lint check failures in android-components r=android-reviewers,mcarare,webcompat-reviewers,twisniewski
We have moved more lint checks upstream to AC and these failures are
trivial to solve, rather than try to suppress.

Differential Revision: https://phabricator.services.mozilla.com/D236392
2025-04-11 04:37:30 +00:00
smolnar
aaed8aeb2c Backed out 2 changesets (bug 1872229) for causing toolchain failures CLOSED TREE
Backed out changeset 2fd0c027ec2c (bug 1872229)
Backed out changeset 7efbd8e4381d (bug 1872229)
2025-04-10 03:38:28 +03:00
Jonathan Almeida
9956a54ab3 Bug 1872229 - Fix minor lint check failures in android-components r=android-reviewers,mcarare,webcompat-reviewers,twisniewski
We have moved more lint checks upstream to AC and these failures are
trivial to solve, rather than try to suppress.

Differential Revision: https://phabricator.services.mozilla.com/D236392
2025-04-09 22:32:23 +00:00
Ryan VanderMeulen
d4312b4ad4 Bug 1955985 - Remove space-assignment usage in Gradle files. r=geckoview-reviewers,android-reviewers,webcompat-reviewers,twisniewski,adhingra,ohall
Differential Revision: https://phabricator.services.mozilla.com/D242727
2025-03-24 15:55:48 +00:00
Aaditya Dhingra
5f9d749a96 Bug 1949260 - Part 2 - Replace DependenciesPlugin with gradle version catalog. r=geckoview-reviewers,android-reviewers,webcompat-reviewers,nalexander,twisniewski,owlish,jonalmeida,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D238804
2025-03-03 17:12:25 +00:00
Ryan VanderMeulen
0cb4659021 Bug 1929236 - Run Robolectric tests on SDK 35. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D227988
2024-11-18 13:21:34 +00:00
Aaditya Dhingra
d71d64edff Bug 1880848 - Fix warning: org.gradle.api.plugins.BasePluginConvention type has been deprecated. r=android-reviewers,webcompat-reviewers,twisniewski,pollymce,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D223166
2024-10-08 09:08:07 +00:00
Ryan VanderMeulen
dedac2cf02 Bug 1918289 - Switch AC & GV from junit4 to junit-vintage. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D221905
2024-09-12 12:36:21 +00:00
mcarare
1070e28db0 Bug 1893120 - Run AC Robolectric tests on SDK 34 and adapt tests. r=android-reviewers,webcompat-reviewers,twisniewski,avirvara
Differential Revision: https://phabricator.services.mozilla.com/D209640
2024-05-14 13:00:48 +00:00
acseh
3f4b08c594 Backed out changeset 9976b7730dbd (bug 1893120) for causing lint failures CLOSED TREE 2024-05-14 12:57:36 +03:00
mcarare
4a11afeae1 Bug 1893120 - Run AC Robolectric tests on SDK 34 and adapt tests. r=android-reviewers,webcompat-reviewers,twisniewski,avirvara
Differential Revision: https://phabricator.services.mozilla.com/D209640
2024-05-14 08:02:38 +00:00
Ryan VanderMeulen
641d368144 Bug 1895149 - Add an explicit dependency on Google Play Services. r=jonalmeida
We used to get this transitively from the FCM package, but that's no
longer the case. This is needed for GoogleApiAvailability, however.

Differential Revision: https://phabricator.services.mozilla.com/D209507
2024-05-06 15:58:36 +00:00
Ryan VanderMeulen
11063bf60a Bug 1895149 - Update Firebase Cloud Messaging to version 24.0.0. r=jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D209506
2024-05-06 15:58:36 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
Tarik Eshaq
883ad6392a Bug 1829982: Fixes push breaking changes for AS 2023-05-31 19:29:51 +00:00
Jonathan Almeida
e9db0c2aa1 Bug 1828551 - Add documentation diagrams for AutoPushFeature 2023-04-27 15:06:15 +00:00
Geoff Brown
6561b2de2b Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +00:00
Ryan VanderMeulen
0e5e70291c Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
mcarare
1f589a2e0b Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643 Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
mcarare
7f86477e7d Bug 1818462 - Refactor AbstractFirebasePushService to remove test dependencies.
Using a shadow from Robolectric Play services module is no longer needed.
2023-02-24 15:31:22 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
Gabriel Luong
d9d783b698 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12939: Address all ktlint issues 2022-10-17 17:07:40 -04:00
Ryan VanderMeulen
242051fb12 [components] Issue BZ-1776525: Update Firebase Cloud Messaging to 23.0.8
Co-authored-by: RyanVM
2022-09-08 02:14:32 +00:00
Jonathan Almeida
478711a6bf [components] Close https://github.com/mozilla-mobile/android-components/issues/10677: Update Mockito to 3.11.2
Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2021-08-12 02:25:56 +00:00
Jonathan Almeida
6fd9d5ca7b [components] Close https://github.com/mozilla-mobile/android-components/issues/4819: Update Firebase Cloud Messaging version 2020-12-02 22:48:17 +00:00
Grisha Kruglov
a90d794cfa [components] Add debug logging for Send Tab and Push code 2020-10-27 20:29:34 +00:00
Jonathan Almeida
3974284c02 [components] Close https://github.com/mozilla-mobile/android-components/issues/8232: Remove firebase-core dependency from lib-push-firebase 2020-08-25 17:48:54 -04:00
Jonathan Almeida
29aba04051 [components] Close https://github.com/mozilla-mobile/android-components/issues/6957: Allow nullable encoding param in push messages
We fall back to the "aes128gcm" encoding if the value is not provided.
2020-05-13 22:39:52 -04:00
Jonathan Almeida
b86fa6dfb5 [components] Close https://github.com/mozilla-mobile/android-components/issues/6601: Update targetSdkVersion to 29 2020-04-28 03:16:54 -04:00
Jonathan Almeida
c947ae586f [components] Close https://github.com/mozilla-mobile/android-components/issues/6456: Allow empty body in AutoPush messages 2020-04-07 20:19:08 -04:00
Jonathan Almeida
81640524f0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5677: Catch all known non-fatal push errors
Previously, we wanted to throw on all unknown push errors so that we
were notified on them. Since this seems to be more common than
originally expected, we should just catch them and in a future version,
we should log them without crashing.

All of these push errors can be considered recoverable except
for InternalPanic.
2020-01-22 17:17:16 -05:00
MozLando
cbfd2e9415 [components] Merge https://github.com/mozilla-mobile/android-components/pull/5543
5543: Closes https://github.com/mozilla-mobile/android-components/issues/5541: Safer onMessageReceived error handling r=jonalmeida a=grigoryk



Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
2020-01-15 13:34:22 +00:00
Grisha Kruglov
413fe13ba9 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5541: Safer onMessageReceived error handling 2020-01-15 05:33:40 -08:00
Jonathan Almeida
eb87ac6c7c [components] Closes https://github.com/mozilla-mobile/android-components/issues/5573: Remove isAutoInitEnabled from AbstractFirebasePushService 2020-01-14 17:03:37 -05:00
Jonathan Almeida
9aefb4de39 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4844: Ignore push messages that are not from Autopush
We can receive messages from Firebase that do not belong to us. We
should ignore those messages, and not try to process them.
2019-10-24 13:30:31 -04:00
Denys M
b95c932f81 [components] For https://github.com/mozilla-mobile/android-components/issues/4460. Fix detekt warning about license in project files. 2019-09-24 01:01:03 +04:00
Jonathan Almeida
b4d404e234 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3280: Add isServiceAvailable to PushService 2019-08-22 14:39:00 -04:00
Jonathan Almeida
e6780afdc6 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3840: Add force registration to push feature 2019-07-23 14:29:57 -04:00
Jonathan Almeida
24501e976f [components] Use Firebase Messaging as api gradle dependency 2019-07-12 18:33:36 -04:00
Jonathan Almeida
2f247a2fd1 [components] Remove app services dependency from firebase component 2019-06-24 07:30:22 -07:00
Jonathan Almeida
97377ae2f9 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1917: Add lib-push-firebase component 2019-05-29 14:17:45 -04:00