Skip to content

Commit

Permalink
1.6.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Korney committed Jul 31, 2024
1 parent 2be0c0d commit 26d192f
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 27 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [1.6.18] - 2024-07-31

### Added

- Modules compatibility check.

### Fixed

- Api `Affise.Module.getStatus`.

### Changed

- Update native iOS to [`1.6.36`](https://github.com/affise/sdk-ios/blob/1.6.36/CHANGELOG.md).
- Update native Android to [`1.6.40`](https://github.com/affise/sdk-android/blob/v1.6.40/CHANGELOG.md).

## [1.6.17] - 2024-07-09

### Fixed
Expand Down Expand Up @@ -95,6 +110,7 @@
- Api `Affise.android.getReferrer` to `Affise.getReferrer`
- Api `Affise.android.getReferrerValue` to `Affise.getReferrerValue`

[1.6.18]: https://github.com/affise/flutter-sdk/compare/1.6.17...1.6.18
[1.6.17]: https://github.com/affise/flutter-sdk/compare/1.6.16...1.6.17
[1.6.16]: https://github.com/affise/flutter-sdk/compare/1.6.15...1.6.16
[1.6.15]: https://github.com/affise/flutter-sdk/compare/1.6.14...1.6.15
Expand Down
45 changes: 28 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Package | Version |
|--------------------------|:--------------------------------------------------------:|
| `affise_attribution_lib` | [`1.6.17`](https://github.com/affise/sdk-react/releases) |
| `affise_attribution_lib` | [`1.6.18`](https://github.com/affise/sdk-react/releases) |

- [Affise Attribution Flutter Library](#affise-attribution-flutter-library)
- [Description](#description)
Expand Down Expand Up @@ -125,12 +125,12 @@ Example [`example/android/app/build.gradle`](example/android/app/build.gradle)
```gradle
dependencies {
// Affise modules
implementation 'com.affise:module-advertising:1.6.38'
implementation 'com.affise:module-androidid:1.6.38'
implementation 'com.affise:module-link:1.6.38'
implementation 'com.affise:module-network:1.6.38'
implementation 'com.affise:module-phone:1.6.38'
implementation 'com.affise:module-status:1.6.38'
implementation 'com.affise:module-advertising:1.6.40'
implementation 'com.affise:module-androidid:1.6.40'
implementation 'com.affise:module-link:1.6.40'
implementation 'com.affise:module-network:1.6.40'
implementation 'com.affise:module-phone:1.6.40'
implementation 'com.affise:module-status:1.6.40'
}
```

Expand All @@ -140,9 +140,9 @@ Add modules to iOS project

| Module | Version | Start |
|---------------|:------------------------------------------------------------------------------------:|----------|
| `ADVERTISING` | [`1.6.33`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Manual` |
| `LINK` | [`1.6.33`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
| `STATUS` | [`1.6.33`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
| `ADVERTISING` | [`1.6.36`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Manual` |
| `LINK` | [`1.6.36`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
| `STATUS` | [`1.6.36`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |

Example [example/ios/Podfile](example/ios/Podfile)

Expand All @@ -151,9 +151,9 @@ target 'Runner' do
# ...

# Affise Modules
pod 'AffiseModule/Advertising', `1.6.33`
pod 'AffiseModule/Link', `1.6.33`
pod 'AffiseModule/Status', `1.6.33`
pod 'AffiseModule/Advertising', `1.6.36`
pod 'AffiseModule/Link', `1.6.36`
pod 'AffiseModule/Status', `1.6.36`
end
```

Expand Down Expand Up @@ -775,8 +775,19 @@ To integrate deeplink support you need:
void init() {
Affise.settings(affiseAppId, secretKey).start(); // Start Affise SDK
Affise.registerDeeplinkCallback((uri) {
// Handle deeplink
Affise.registerDeeplinkCallback((value) {
// full uri "scheme://host/path?parameters"
var deeplink = value.deeplink;
// separated for convenience
var scheme = value.scheme;
var host = value.host;
var path = value.path;
var queryParametersMap = value.parameters;
if(queryParametersMap["<your_uri_key>"]?.contains("<your_uri_key_value>") == true) {
// handle value
}
});
}
```
Expand Down Expand Up @@ -854,7 +865,7 @@ Example: `myapp://mydomain.com`
> You must owne website domain.
>
> And has ability to add file `https://yoursite/.well-known/apple-app-site-association` for iOS support
>
>
> And has ability to add file `https://yoursite/.well-known/assetlinks.json` for Android support
>
> 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥
Expand Down Expand Up @@ -929,7 +940,7 @@ Example: `https://mydomain.com`

### iOS

To integrate deeplink support in iOS you need:
To integrate applink support in iOS you need:

- Follow how to set up applink in the [official documentation](https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app).

Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
group 'com.affise.attribution.affise_attribution_lib'
version '1.6.17'
version '1.6.18'

buildscript {
ext.kotlin_version = '1.7.10'
ext.affise_version = '1.6.38'
ext.affise_version = '1.6.40'
ext.agp_version = '7.2.1'

repositories {
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ flutter {
source '../..'
}

final affise_version = '1.6.38'
final affise_version = '1.6.40'

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down
6 changes: 3 additions & 3 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ target 'Runner' do
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

# Affise modules
pod 'AffiseModule/Advertising', '1.6.33'
pod 'AffiseModule/Status', '1.6.33'
pod 'AffiseModule/Link', '1.6.33'
pod 'AffiseModule/Advertising', '1.6.36'
pod 'AffiseModule/Status', '1.6.36'
pod 'AffiseModule/Link', '1.6.36'
end

post_install do |installer|
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class _MyAppState extends State<MyApp> {
// Debug: network request/response
Affise.debug.network((request, response) {
if (kDebugMode) {
print("Affise: $request");
// print("Affise: $request");
print("Affise: $response");
}
});
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.6.17"
version: "1.6.18"
async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion ios/affise_attribution_lib.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ Affise Attribution Flutter plugin.
s.swift_version = '5.0'

s.dependency 'Flutter'
s.dependency 'AffiseInternal', '1.6.33'
s.dependency 'AffiseInternal', '1.6.36'

end
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: affise_attribution_lib
description: Affise Attribution Flutter plugin.
version: 1.6.17
version: 1.6.18
homepage: https://affise.com/

environment:
Expand Down

0 comments on commit 26d192f

Please sign in to comment.