-
Notifications
You must be signed in to change notification settings - Fork 40
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
Android push implementation. #308
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
ec55652
Create platform (java vs android) variants of AblyRest base library c…
paddybyers 64077c9
Skeleton for support for network connectivity events
paddybyers 7dda4e5
Implement support for Android network connectivity events
paddybyers ec1e3d2
Add Platform.getAblyForContext() on android
paddybyers ec0880e
Serialization.Http* can convert to any JSON-decoding class.
tcard 6ec1e33
WIP: Android push implementation.
tcard 207a523
Fixes to build to export Android dependencies without Maven.
tcard 02911ef
Remove all "Created by tcard" comments.
tcard 9f4727c
Push.* tests.
tcard 0107532
A bunch of helpers methods, classes, etc. to use in push tests.
tcard cc0868a
Implement Push.ActivationStateMachine.reset for use in tests.
tcard 385b85c
Increase visibility all around, for push tests.
tcard d1001f6
RawHttpListener: now you can provide a mock response to HTTP requests.
tcard d17a768
Add getMachine function to mock ActivationStateMachine in tests.
tcard 34a595e
Random fixes to push code.
tcard 63345a4
Allow specifying a custom, overriding Authorization header.
tcard 78452e6
Better logging for push tests.
tcard b504be0
Add RawHttpTracker.lockRequests and getRequestWaiter for use in tests.
tcard 8f3a877
Add pushFullWait option for setting fullWait param to push requests.
tcard 360649c
Add tests for Android push.
tcard f20d8b7
Test that the realtime push interface is there.
tcard 849cd08
Add device and subscription to eliminate test interference
paddybyers f22fd3d
Use a separate REST API instance to admin ops for activation tests
paddybyers a6c102e
Update android build tools version
paddybyers a10cb3c
Fix whitespace
paddybyers 42bb13e
Migration to latest push spec
paddybyers da3230a
Fix whitespace
paddybyers c37fe19
Fix whitespace
paddybyers 1f88b8b
Refactor push and platform-specific library structure; update android
paddybyers f5c7907
Refactor android push tests to reinitialise activation state before
paddybyers 983ac78
Fix rebase errors
paddybyers 7963b01
Ensure reset() only attempts to process own-delared fields
paddybyers 5655ff5
Remove redundant messages
paddybyers b97b20d
Add AblyRest.device()
paddybyers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dependencies { | ||
implementation 'io.azam.ulidj:ulidj:[1.0,2.0[' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this TODO be resolved before we merge?