Skip to content

Conversation

@Petrakeas
Copy link
Contributor

No description provided.

Tools and dependencies were updated as follows:

Gradle 7.3.3
Android Gradle Plugin 7.2.2
targetSdkVersion 32

io.github.gradle-nexus.publish-plugin 1.1.0

When generating javadoc, the attribute
"addStringOption('Xdoclint:none', 'quiet')" was causes an error and
has been replaced with "addBooleanOption('Xdoclint:none', true)"

in gradle.properties the following attribute was added to prevent
logging a warning:
"android.disableAutomaticComponentCreation=true"

We now make use of AGP's publishing block. However, the javadoc it produces
has a lower quality than the javadoc generated using our "androidJavadoc" task
in publish-helper.gradle. This is why, "withJavadocJar()" is commented out.
Currently, we only make use of withSourcesJar().

The app's manifest has been updated to specify that ".MainActivity" is exported as
required as of Android 12.
AppCompat has been updated to 1.5.0 in the SDK and the app Gradle files.

BaseActivity.java and BaseAppCompatActivity,java have been moved from the app
module to the SDK (txsdk) module. It's better to have these classes bundled in the
library instead of instructing our users to copy paste the code from the sample app.

BaseAppCompatActivity used to wrap the resources with `VectorEnabledTintResourcesWrapper`
to enable TxNative functionality when "setCompatVectorFromResourcesEnabled()" was used
and the app was running on older  platforms (< API 21).
AppCompat 1.5.0 does not need this workaround. This is why the respective code has
been commented out. A comment is left for users that use an older AppCompat version
and need the workaround.

Readme.md has been updated regarding the previous changes.

Some test methods have been added in MyApplication as commented out code.
@n1k0sv n1k0sv merged commit 7cfbe84 into transifex:devel Sep 15, 2022
@wyngarde wyngarde mentioned this pull request Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants