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
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
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
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
Jonathan Almeida
6fff2ebc34
[components] Close https://github.com/mozilla-mobile/android-components/issues/11647 : Remove lib-push-amazon component
2022-02-02 02:00:25 +00:00
Jonathan Almeida
f7be84b506
[components] Issue https://github.com/mozilla-mobile/android-components/issues/9011 : Submit exception on subscribe error
2020-11-30 22:12:06 +00: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
09ef74612d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4925 : Add support for push scopes in AutoPushFeature
...
We've cleaned up a lot of the code here to simplify our logic and also
add the support needed for integrating WebPush with Gecko-based engines.
- Avoid naming collisions between push and coroutine scopes.
- Added new `subscribe` and `unsubscribe` APIs.
- Added a simplified observer on the feature itself.
- Removed APIs: `subscribeForType`, `unsubscribeForType`, `subscribeAll`.
- Removed old `registerForPushMessages` and `registerForSubscriptions`
- Removed the MessageBus implementation and the Bus API.
- Removed the PushType enum and it's usages.
- Updated `FxaPushSupportFeature` with the new APIs.
- Added a random scope for individual devices that use
`FxaPushSupportFeature`.
- Added a lot more documentation through out all files touched.
Partially unrelated changes:
- Added Mockito nullable with Kotlin reified types.
2020-02-24 10:59:48 -05: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
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
1c9e69dfea
[components] Fix exception string in PushProcessor
2019-12-10 21:55:02 -05:00
Jonathan Almeida
8003dc62eb
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3859 : Add FxA support feature to update push registration
2019-10-23 16:04:50 -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
df2e1b3ab2
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1916 : Refactor push concept
2019-05-29 14:17:45 -04:00
Sebastian Kaspari
5c54ec453d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/842 : Migrate from support libraries to AndroidX.
2019-05-02 16:08:55 +02:00
Jonathan Almeida
a8c5a2b04c
[components] Documentation and clean up
2019-03-21 15:38:41 -04:00
Jonathan Almeida
cf2bfbb1bc
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2114 : Create PushMessage data class
2019-03-21 15:38:41 -04:00
Jonathan Almeida
4ce4a3cddc
[components] Issue https://github.com/mozilla-mobile/android-components/issues/2113 : Create a PushService and component class
2019-03-21 15:38:41 -04:00
Jonathan Almeida
8ff1bac416
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1916 : Create concept-push component
2019-03-21 15:38:41 -04:00