Skip to content

Conversation

@txsentinel
Copy link

Merged Pull Requests:
#63 : Petrakeas/improve xml parser
#64 : Improve handling of "@"
#66 : Wrap application context
#67 : Bump version to 1.4.0
#69 : Maven Central publishing update

Petrakeas and others added 12 commits January 9, 2024 18:57
Since ViewPumpAppCompatDeledate allows to pass a context wrapping method, we use
this functionality to avoid double wrapping the delegate. TxContextWrappingDelegate2
and TxContextWrappingDelegateJava2 are no longer needed.

TxNative#wrap() has a check to avoid double wrapping.

Documentation corrections.
According to Android's documentation
https://developer.android.com/guide/topics/resources/string-resource#escaping_quotes
new lines are preserved  within the quoted region.

This behavior is now added.

Unit tests are also improved.
We want to ignore strings that reference other strings.

However, our previous rules did not allow for some legitimate usage
of the "@" or escaped "\@" character.

This is now improved.

To improve the checks, the xml text prion the un-escaping had to be exposed.
This resulted to a small refactoring.
The SDK can now wrap the application context.

Sample app, readme and documentation have been updated. In the readme, we still
propose to initialize the SDK in the `onCreate()` method.

Introduced: `TxNative#isInitialized()`
Updated actions/upload-artifact: v3 to v4
@SerafeimMarg SerafeimMarg merged commit 50c029c into master Sep 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants