Skip to content

Release 2.17.0 - #845

Open
mindbox-mobile-ci[bot] wants to merge 41 commits into
masterfrom
release/2.17.0
Open

mindbox-mobile-ci[bot] wants to merge 41 commits into
masterfrom
release/2.17.0

Conversation

@mindbox-mobile-ci

Copy link
Copy Markdown

Updates the release version to 2.17.0. Automated PR: merge release/2.17.0 into master

justSmK and others added 30 commits October 27, 2026 11:24
…view-cache

MOBILE-0000: Follow the WebView cache toggle in embedded blocks
Google Play SDK Console verifies every Maven artifact separately, so each published module needs the token under META-INF/cloud/mindbox/<artifactId>/. The token is the same account-wide one already shipped in cloud.mindbox:mobile-sdk.

Covers mindbox-firebase, mindbox-huawei, mindbox-rustore, their starters and mindbox-sdk-starter-core.
Replaces the hand-made copies for mindbox-firebase, mindbox-huawei and mindbox-rustore with the files Google issued for these artifacts. Only the date comment changes; the token is the same.
…dules-verification

MOBILE-569: Add the SDK Console verification file to the push modules
…on file

cloud.mindbox:mindbox-common-android is published from this submodule by the android-sdk release pipeline, so the token Google looks for only ships once the pointer includes mindbox-cloud/kmp-common-sdk#43.
…p-common-sdk

MOBILE-569: Bump kmp-common-sdk to pick up the SDK Console verification file
./gradlew :dokkaGenerate builds one HTML reference for the nine published
Android modules into build/dokka/html; mindbox-common is internal and stays
out. The plugin is applied from the root build because android-app builds
these modules through modulesCommon.gradle with its own buildscript
classpath, which has no Dokka. Dokka brings Gradle's base plugin to the
root project, whose clean deletes the same directory as the custom task it
replaces.

Publishing is unchanged: AAR, sources jars and POMs are byte-identical
before and after, and javadoc jars still come from AGP.
GitHub Pages keeps one deployment per repo, so the site now carries both:
a landing page at the root, the Kover report under /coverage/ and the Dokka
reference of develop under /api/. The reference is built from develop
because no release tag has the Dokka setup yet; ios-sdk shows how to build
from the latest stable tag instead. It builds in its own job next to the
unit tests, so a Dokka failure does not hold back coverage: the last good
reference comes from the cache, and with none the deploy stops so the
published site stays as it is.
…ws (#833)

Release PRs and the master-to-develop merge-back were opened and merged
with PAT_FOR_TRIGGERING_BRANCH_PROTECTION, a personal token of an org
admin account, only because events made with GITHUB_TOKEN start no
workflows. An installation token of the mindbox-mobile-ci App starts
them the same way, covers only this repository and the permissions of
its step, and expires within an hour.

The key comes from the org secret MOBILE_CI_APP_PRIVATE_KEY and the
client ID from the org variable MOBILE_CI_APP_CLIENT_ID. Release and
merge-back PRs are now authored by mindbox-mobile-ci[bot].
MOBILE-0000: keep RoomDatabase constructors for AGP 9 R8 strict mode
Merge 'master' into 'develop' after release
…pdates

Bumps the github-actions group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/setup-java](https://github.com/actions/setup-java) | `5.7.0` | `6.1.0` |
| [gradle/actions/setup-gradle](https://github.com/gradle/actions) | `6.4.0` | `6.4.1` |
| [android-actions/setup-android](https://github.com/android-actions/setup-android) | `4.0.1` | `4.0.4` |
| [mikepenz/action-junit-report](https://github.com/mikepenz/action-junit-report) | `6.4.2` | `6.6.1` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` |
| [actions/deploy-pages](https://github.com/actions/deploy-pages) | `5.0.0` | `5.0.1` |



Updates `actions/setup-java` from 5.7.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@b6effb0...b843ebf)

Updates `gradle/actions/setup-gradle` from 6.4.0 to 6.4.1
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](gradle/actions@3f5f9ad...8da46b5)

Updates `android-actions/setup-android` from 4.0.1 to 4.0.4
- [Release notes](https://github.com/android-actions/setup-android/releases)
- [Commits](android-actions/setup-android@40fd30f...be39fa8)

Updates `mikepenz/action-junit-report` from 6.4.2 to 6.6.1
- [Release notes](https://github.com/mikepenz/action-junit-report/releases)
- [Commits](mikepenz/action-junit-report@d9f48fc...6ef3fdc)

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@043fb46...cf430e0)

Updates `actions/deploy-pages` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](actions/deploy-pages@cd2ce8f...368f825)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: gradle/actions/setup-gradle
  dependency-version: 6.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: android-actions/setup-android
  dependency-version: 4.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: mikepenz/action-junit-report
  dependency-version: 6.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/deploy-pages
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
…github-actions-496be2f238

deps(deps): bump the github-actions group across 1 directory with 6 updates
…t be read

A missing or null value still means the default: once per lifetime for
frequency, no conditions for displayConditions. Anything else the SDK
cannot read now drops only that in-app, the same way iOS does.

Before, an unknown or malformed displayConditions read as no conditions,
so direct-call story content showed by itself on start. An unknown
frequency read as once per lifetime, and a null or non-object frequency
failed the whole inapps block.
…-display-conditions

MOBILE-635: Drop an in-app whose frequency or display condition cannot be read
Bumps the github-actions group with 2 updates: [actions/setup-java](https://github.com/actions/setup-java) and [mikepenz/action-junit-report](https://github.com/mikepenz/action-junit-report).


Updates `actions/setup-java` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@b843ebf...77dd5b2)

Updates `mikepenz/action-junit-report` from 6.6.1 to 6.7.1
- [Release notes](https://github.com/mikepenz/action-junit-report/releases)
- [Commits](mikepenz/action-junit-report@6ef3fdc...a16be3a)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: mikepenz/action-junit-report
  dependency-version: 6.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
…github-actions-b4469749ab

deps(deps): bump the github-actions group with 2 updates
…omain

The tracking host is derived from `domain` by replacing `api` with
`api-tracking` in the first label; there is no configuration field for it,
and `disableTrackingIds` stays the only switch. The ids are stored in the
event body, and the host is chosen at send time: an application operation
with a non-empty `ids` goes to the tracking host, everything else to the
main host. Without a tracking host (a domain without a twin, or an
anonymizer from init or the mobile config) the ids are stripped and the
set stored in Mindbox is left as it is; the opt-out still erases it with
`[]` on the main host.

ApplicationInstalled goes without ids, and a non-empty set follows in a
separate ApplicationInfoUpdated. An ApplicationInfoUpdated about the token
or the push status carries no ids; the set rides along only when it
changed. ApplicationKeepalive always carries the current set.

An event refused by the tracking host is retried on the main host without
ids under the same transactionId, so the push token and the other
operations never wait for a blocked tracking name. The marker lives in
memory: after a restart the first attempt probes the tracking host again.
The ids of a provider that could not be read or timed out are not guessed
from the last sent value any more; the operation goes without the field.
The preferences keep only the SHA-256 of the sent set.
The request dump and the database error log keep only the first group of
each identifier readable, so a tester can still match the device while
the rest of the value stays out of the persisted logs.
…n anonymizer

The deviceUuid of a new installation is still the advertising id with a
random UUID as the fallback. With `disableTrackingIds`, or when the
operations go through an anonymizer (`operationsDomain` from init or the
mobile config), the SDK does not read the advertising services at all and
generates a random UUID instead. An already assigned deviceUuid is never
changed, so an anonymizer that arrives through the mobile config after the
first initialization does not affect it.

The lookup moves from Mindbox into DeviceUuidResolver, and the random UUID
helper becomes a top-level function shared with PushServiceHandler and the
permission launcher.
When a retry drops the ids to reach the main host, the "sent" mark is
reset, so the set goes out again on the next initialization or return to
the foreground instead of waiting for the next Keepalive. The mark stays
until the retry actually drops the ids: a failure alone proves nothing,
and after a restart the first attempt probes the tracking host again.

An ApplicationInfoUpdated sent only because the ids changed no longer
moves lastInfoUpdateTime, so the next ApplicationKeepalive keeps its
schedule and carries the set as a second chance. Both rules match the
iOS SDK (MOBILE-390).
The ids no longer decide the host by being found in the body. An
ApplicationInfoUpdated sent for the ids and a Keepalive that carries a
non-empty set are queued as AppTrackingIdsUpdated and AppTrackingKeepalive,
both marked with TrackingHostEvent. GatewayManager routes by that marker and
swaps the type for its main host counterpart when the event has to go to the
main host without ids. The operation names on the wire stay the same, and so
does the database schema: the new types are two more ordinals in the same
column, so the events queued by 2.15.5 keep their old route.

A token change and a new set of ids at the same moment go out as two events,
as in the iOS SDK (MOBILE-390).
…arden the fallback

Review fixes for the tracking host.

The resolver stores the types of the last reported set next to its digest.
A reported type whose provider is passed to init but is not ready or has
no services now makes the read uncertain: the ids field is left out instead
of erasing the set. This covers the start race with the asynchronous push
services setup and a temporary outage of the ads services. A provider
removed from init still erases its type. A set stored in clear by 2.15.5
yields its types as well.

The fallback no longer forgets the sent mark, it invalidates it, so an
erase is sent after a fallback too. The mark is also invalidated when the
ids are stripped for lack of a tracking host.

A 4xx answer of the tracking host keeps the event queued for the main host
retry instead of dropping it. A request to the tracking host times out
after 10 seconds so that it does not hold the events thread for a minute.

VersioningUnitTest calls the top-level generateRandomUuid, the keepalive
test restores the SDK scope.
…sh services

An empty list passed to init or initPushServices left the set of providers
unknown, so every reported type counted as unread and the set was never
erased. The SDK now remembers that a list was passed: an empty one means
no providers, and the reported types are erased. The set stays unknown only
in a process where no list was passed yet, which keeps the start race
protection.
Every branch of the tracking host change was broken on purpose, one at a
time, and the tests that let a break through were fixed or added.

Tests that could not fail are rewritten: the limit ad tracking erase now
starts from a reported type, the main host retry is followed through a
second failure and through a delivery. New tests cover the body of the
main host retry, a failure while choosing the host, the version of the
tracking event next to a token change, the type of the queued event, the
missing answers of the providers, two providers of one type, a blank
anonymizer in the mobile config, a path in the domain and the masking of
the ids in the request log and in the database error log.

To make that possible the passed list of push services is remembered by
SingleInitDelegate itself instead of a separate flag set in two places,
and forCurrentHosts is visible to the tests. The read timeout flag and
the ip address check in deriveTrackingHost are removed: the count of the
answers and the api label mask already cover both.

The timeout tests are renamed: 10 seconds limit each connection and each
read, not the whole request.
enotniy and others added 11 commits November 16, 2026 14:33
…t mark as one value

A tracking event carries the ids, so its url is built for the tracking
host only. If the host disappears between choosing the route and building
the url, for instance an anonymizer arrives with the mobile config, the
send fails and the event stays queued: the next attempt strips the ids.

The digest of the sent set and its types are stored in one preference
value instead of two, so they cannot describe different sets after
concurrent writes or a write cut in half.

A transaction id is forgotten as refused by the tracking host on any
terminal outcome, not only on a success answer.
… push services in one piece

An invalidation reads the reported types and writes them back. A mark
written in between was overwritten with the older types, so a type could
lose its protection. The three writers of the sent mark now share a lock.

SingleInitDelegate kept the list and the fact of an assignment in two
fields, and a reader could see the fact before the list. It now holds one
nullable list: null until something is assigned.
… logs

MindboxRequest is a data class, so Volley printed every field of it: the
configuration, the listeners and the body with the tracking ids in clear.
Volley does that for any request slower than three seconds even when its
debug logging is off. The request now prints its method and url only; the
SDK logs the body itself, with the ids masked.
The fallback warning was logged under the Event tag instead of
GatewayManager. The mark of a set is written when its event is queued, so
the line no longer says the ids were sent. A request without a body no
longer prints a null line.
MOBILE-571: Send the tracking ids to the tracking host
…dated-version

MOBILE-571: Spend a single info version when only the tracking ids changed

This branch has not been deployed

No deployments
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.

5 participants