Skip to content

Align dev to master for CI/CD workflows#681

Merged
al-af merged 26 commits into
masterfrom
development
May 14, 2026
Merged

Align dev to master for CI/CD workflows#681
al-af merged 26 commits into
masterfrom
development

Conversation

@al-af

@al-af al-af commented May 14, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

al-af and others added 26 commits May 12, 2026 15:10
Avoids linting the example project, which is not part of the main application's codebase and often has different requirements.
Commits the Gradle wrapper (`gradlew` and `gradlew.bat`) to the repository, eliminating the need to generate them dynamically in CI workflows. This change improves build reliability and consistency across different environments.
Migrates the npm publish steps in the production and RC release workflows to use OpenID Connect (OIDC) for authentication. This removes the reliance on a long-lived npm token secret, improving security by leveraging short-lived, ephemeral credentials.
Refactors and expands the React Native E2E test suite (v1.0.0 to v1.1.0) with more granular validation for critical SDK functionalities.

Key enhancements include:
*   Detailed checks for cold launch, background/foreground deep links, custom events with rich parameters, and identity API round-trips.
*   A comprehensive test for the `stop()` API, verifying event suppression and resumption.
*   Updates the example app (`App.tsx`) and adds `getCustomerUserId` to native/JS interfaces to enable these new test scenarios.

This significantly improves pre-publish validation and overall plugin reliability.
Resets device identifiers (Android ID) or privacy settings (iOS simulator) when a fresh install is required. This ensures the AppsFlyer server treats the device as truly new, allowing for accurate `is_first_launch` reporting and reliable attribution testing.
Fixes a timing issue in the example app's E2E test by delaying the `stop()` API call. This ensures the SDK has sufficient time to receive `onInstallConversionData` before being stopped, preventing premature termination of the request.

Enhances CI workflows to:
*   Update the iOS build cache key to include `example/.env`, ensuring a fresh build when environment variables change and preventing stale test configurations.
*   Log `.env` keys (with values redacted) during workflow runs for better debugging without exposing secrets.
…-automation

CI/CD pipeline, E2E test infrastructure

@Dani-Koza-AF Dani-Koza-AF left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@al-af al-af merged commit 49ae1b3 into master May 14, 2026
3 checks passed
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