Skip to content

Commit

Permalink
(build) publish version 4.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Judas committed Dec 10, 2024
1 parent ce76012 commit 457d8fa
Show file tree
Hide file tree
Showing 17 changed files with 759 additions and 681 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# 4.2.4 (Epoisses)

### Release date 2024/12/10

**Features**

- (Android) Updated UI to new product carrousel design

**Bug fixes**

- Fix TalkBack focus issue in message list
- Fix push notifications not being enabled on follow-up activations (see explanation below)
- (iOS) Fix useless calls performed after logout (access token refresh attempts).
- (iOS) Fix wrong font used in navigation bar title when using a custom font.
- (iOS) Fix inconsistent font size in messages when using a custom font.
- (iOS) Fix watchdog terminations caused by main thread being blocked by XMPP.
- (iOS) Fix wrong availability displayed in product card when a new message is received.

____

**Automatic Push Notifications Handling**

Push notifications are now **automatically enabled** every time a visitor is activated using IAdvizeSDK.activate(projectId:authenticationOption:gdprOption:completion:).

- Previously, push notifications were only enabled during the first activation. After logout, they were disabled, requiring manual re-enablement on subsequent activations.

- Now, push notifications will automatically re-enable during every activation, regardless of whether it’s the visitor’s first or a subsequent activation.

You only need to call IAdvizeSDK.enablePushNotifications if you previously disabled them using IAdvizeSDK.disablePushNotifications.

# 4.2.3 (Epoisses)

### Release date 2024/11/21
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ The iAdvize ReactNative SDK Plugin uses the iAdvize native iOS & Android SDKs.

| Plugin | React Native | React | Android SDK | Android | Kotlin | iOS SDK | iOS | Xcode | Swift |
| ------ | ------------ | ------ | ----------- | -------- | ------ | -------- | ---- | ------ | ----- |
| 4.2.3 | 0.75.4 | 18.3.1 | 2.14.3 | 24 -> 35 | 2.0.0 | 2.16.1 | 13.4 | 16.1.X | 5 |
| 4.2.2 | 0.75.4 | 18.3.1 | 2.14.3 | 24 -> 35 | 2.0.0 | 2.16.1 | 13.4 | 16.1.X | 5 |
| 4.2.4 | 0.75.4 | 18.3.1 | 2.14.4 | 24 -> 35 | 2.0.0 | 2.16.4 | 13.4 | 16.1.X | 5 |
| 4.2.3 | 0.75.4 | 18.3.1 | 2.14.3 | 24 -> 35 | 2.0.0 | 2.16.2 | 13.4 | 16.1.X | 5 |
| 4.2.2 | 0.75.4 | 18.3.1 | 2.14.3 | 24 -> 35 | 2.0.0 | 2.16.2 | 13.4 | 16.1.X | 5 |
| 4.2.1 | 0.72.7 | 18.2.0 | 2.14.1 | 21 -> 33 | 1.7.22 | 2.16.0 | 13.0 | 15.4.X | 5 |
| 4.2.0 | 0.72.7 | 18.2.0 | 2.14.0 | 21 -> 33 | 1.7.22 | 2.16.0 | 13.0 | 15.4.X | 5 |
| 4.1.5 | 0.72.7 | 18.2.0 | 2.13.1 | 21 -> 33 | 1.7.22 | 2.15.5 | 13.0 | 15.2.X | 5 |
Expand Down
12 changes: 12 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 4.2.3 > 4.2.4

**Automatic Push Notifications Handling**

Push notifications are now **automatically enabled** every time a visitor is activated using IAdvizeSDK.activate(projectId:authenticationOption:gdprOption:completion:).

- Previously, push notifications were only enabled during the first activation. After logout, they were disabled, requiring manual re-enablement on subsequent activations.

- Now, push notifications will automatically re-enable during every activation, regardless of whether it’s the visitor’s first or a subsequent activation.

You only need to call IAdvizeSDK.enablePushNotifications if you previously disabled them using IAdvizeSDK.disablePushNotifications.

## 4.2.2 > 4.2.3

*Nothing to report*
Expand Down
6 changes: 6 additions & 0 deletions example/.buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
2 changes: 1 addition & 1 deletion example/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
root: true,
extends: '@react-native',
extends: '@react-native-community',
};
66 changes: 66 additions & 0 deletions example/.flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*

; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js

.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

[include]

[libs]
node_modules/react-native/interface.js
node_modules/react-native/flow/

[options]
emoji=true

exact_by_default=true

format.bracket_spacing=false

module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
unnecessary-invariant=warn

[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.182.0
7 changes: 0 additions & 7 deletions example/.prettierrc.js

This file was deleted.

7 changes: 2 additions & 5 deletions example/Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"
ruby '>= 3.3.5'

# Exclude problematic versions of cocoapods and activesupport that causes build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
gem 'cocoapods', '~> 1.16', '>= 1.16.1'
26 changes: 12 additions & 14 deletions example/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ GEM
benchmark (0.4.0)
bigdecimal (3.1.8)
claide (1.1.0)
cocoapods (1.15.2)
cocoapods (1.16.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.15.2)
cocoapods-core (= 1.16.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
Expand All @@ -44,8 +44,8 @@ GEM
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.15.2)
xcodeproj (>= 1.27.0, < 2.0)
cocoapods-core (1.16.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
Expand Down Expand Up @@ -78,37 +78,35 @@ GEM
httpclient (2.8.3)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
json (2.8.2)
logger (1.6.1)
minitest (5.25.1)
json (2.9.0)
logger (1.6.2)
minitest (5.25.4)
molinillo (0.8.0)
nanaimo (0.3.0)
nanaimo (0.4.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
public_suffix (4.0.7)
rexml (3.3.9)
ruby-macho (2.5.1)
securerandom (0.3.2)
securerandom (0.4.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
xcodeproj (1.25.1)
xcodeproj (1.27.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
nanaimo (~> 0.4.0)
rexml (>= 3.3.6, < 4.0)

PLATFORMS
ruby

DEPENDENCIES
activesupport (>= 6.1.7.5, != 7.1.0)
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
xcodeproj (< 1.26.0)
cocoapods (~> 1.16, >= 1.16.1)

RUBY VERSION
ruby 3.3.6p108
Expand Down
3 changes: 0 additions & 3 deletions example/babel.config.js

This file was deleted.

28 changes: 19 additions & 9 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ require Pod::Executable.execute_command('node', ['-p',

platform :ios, 13.4
prepare_react_native_project!

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
end
use_frameworks!

target 'example' do
config = use_native_modules!

# Flags change depending on the env values.
flags = get_default_flags()

use_react_native!(
:path => config[:reactNativePath],
# Hermes is now enabled by default. Disable by setting this flag to false.
# Upcoming versions of React Native may rely on get_default_flags(), but
# we make it explicit here to aid in the React Native upgrade process.
:hermes_enabled => false,
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
Expand All @@ -28,13 +31,20 @@ target 'example' do
# Pods for testing
end


post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false,
# :ccache_enabled => true
# Set `mac_catalyst_enabled` to `true` in order to apply patches
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)

installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
end
Loading

0 comments on commit 457d8fa

Please sign in to comment.