-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-adapter
* main: (34 commits) Bump the gradle plugin to 8.1.0 Update .idea git-ignored files Open up the component's didReceive(), didStart(), and didStop() for use with app component testing Update Android Gradle plugin to 8.0.2 Include the stack trace in logged errors Improve logging and expose warnings to apps that don't have debug logging enabled Don't access the bridge directly from the component, so testing from apps is possible through the delegate directly Move the debugLoggingEnabled flag to the Strada.config namespace Move userAgent substring generation from Bridge to Strada namespace Add tests for message data encoding/decoding Provide an available KotlinXJsonConverter, since the kotlinx.serialization is multiplatform and requires inline reified functions, which aren't compatible with a generic interface or abstract class Rename StradaJsonEncoder -> StradaJsonConverter Cleanup Initial work to encode/decode data by providing Strada a custom app encoder Rename messageReceivedFor(event) -> receivedMessageFor(event) Make the component's onStart() and onStop() have protected access, so it's only available to component subclasses Update BridgeComponent tests with the boolean flag when replying Allow replying to an event without modifying its jsonData. Return a boolean flag from replies to indicate whether the reply was successful. Consolidate test data to a new TestData object Store the last received message for each event type so it can be easily retrieved and add a new replyTo() convenience way to reply to messages ... # Conflicts: # strada/src/main/assets/js/strada.js
- Loading branch information
Showing
30 changed files
with
744 additions
and
156 deletions.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Mon Feb 13 14:19:36 EST 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
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
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.