Skip to content

Commit

Permalink
Merge branch 'feature/itbl-track-anon-user' into sync_in_app_message_…
Browse files Browse the repository at this point in the history
…implementation
  • Loading branch information
evantk91 authored Jan 21, 2025
2 parents 69127a0 + 6ac0049 commit 6dc8557
Show file tree
Hide file tree
Showing 47 changed files with 3,414 additions and 668 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
root = true

[*]
indent_style = space
indent_size = 4
tab_width = 4
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:

- run: touch local.properties

- name: Lint Check
run: ./gradlew :iterableapi:lintDebug

- name: Checkstyle
run: ./gradlew :iterableapi:checkstyle :iterableapi-ui:assembleDebug

Expand Down Expand Up @@ -58,7 +61,7 @@ jobs:
instrumentation-tests:
name: Instrumentation tests
runs-on: macos-12
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -69,7 +72,7 @@ jobs:
- name: Configure JDK
uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2 # v1.4.3
with:
java-version: 11
java-version: 17

- run: touch local.properties

Expand Down
124 changes: 0 additions & 124 deletions AnonymousUserEventTracking.md

This file was deleted.

38 changes: 0 additions & 38 deletions AnonymousUserMerge.md

This file was deleted.

42 changes: 38 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,50 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
## [3.5.8]

### Fixed
- Fixed logic issue where notifications were being disabled even when auto push registration was turned off

## [3.5.7]

### Added
- Support for JSON-only in-app messages, JSON-only messages are now handled by the `onNewInApp` handler and consumed after retrieval
- Enhanced notification state tracking to align with system notification permissions changes

## [3.5.6]

#### Fixed
- Fixed Crash while initializing IterableSDK on some devices (Unsupported IV Length).

## [3.5.5]

#### Added
- nothing yet
- - Added `IterableDecryptionFailureHandler` interface to handle decryption failures of PII information.

#### Removed
- nothing yet
- Removed `encryptionEnforced` parameter from `IterableConfig` as data is now always encoded for security

#### Changed
- nothing yet
- Migrated from EncryptedSharedPreferences to regular SharedPreferences to prevent ANRs while EncryptedSharedPreferences was created on the main thread. We are now using our own encryption library to encrypt PII information before storing it in SharedPreferences.

## [3.5.4]
#### Fixed
- In-Apps are now robust with animation, resolving flickering and animation issues observed on Pixel 6 Pro with API 35.
- Fixed an issue where AuthManager was not reset correctly when logging out a user.
- Fixed `ConcurrentModificationException` leading to crashes during application launches.
- Addressed a text truncation issue in Embedded Message templates for applications targeting Android 14 and Android 15.
- Improved InboxActivity compatibility with edge-to-edge layouts, ensuring seamless handling of notches and display cutouts.

## [3.6.0-beta1]

#### Added
- This release includes initial support for Anonymous user activation, a feature that allows marketers to convert valuable visitors into customers. With this feature, the SDK can:
- Fetch anonymous profile creation criteria from your Iterable project, and then automatically create Iterable user profiles for anonymous users who meet these criteria.
- Save information about a user's previous interactions with your application to their anonymous profile, after it's created.
- Display personalized messages for anonymous users (in-app, push, and embedded messages).
- Merge anonymous profiles into an existing, known user profiles (when needed).
- Anonymous user activation is currently in private beta. If you'd like to learn more about it or discuss using it, talk to your Iterable customer success manager (who can also provide detailed documentation).

## [3.5.3]
#### Fixed
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
defaultConfig {
applicationId "com.iterable.iterableapi.testapp"
minSdkVersion 16
targetSdkVersion 27
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
android:exported="false" />
<activity
android:name="com.iterable.androidsdk.MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
Expand All @@ -23,6 +24,15 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity"
android:exported="true" />
<activity
android:name="androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity"
android:exported="true" />
<activity
android:name="androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity"
android:exported="true" />
</application>

</manifest>
Loading

0 comments on commit 6dc8557

Please sign in to comment.