Skip to content

Commit

Permalink
Merge pull request #85 from rudderlabs/feat/appsflyer_device_mode
Browse files Browse the repository at this point in the history
feat: added device mode support for appsflyer
  • Loading branch information
bardisg authored Apr 5, 2023
2 parents 24504c5 + 617e306 commit cca7cbf
Show file tree
Hide file tree
Showing 47 changed files with 663 additions and 133 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Install Melos
run: |
dart pub global activate melos
dart pub global activate melos 2.9.0
- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pubdev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Melos
run: |
dart pub global activate melos
dart pub global activate melos 2.9.0
- name: Install dependencies
run: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Install Melos
run: |
dart pub global activate melos
dart pub global activate melos 2.9.0
# In order to make a commit, we need to initialize a user.
# You may choose to write something less generic here if you want, it doesn't matter functionality wise.
Expand All @@ -47,7 +47,8 @@ jobs:
source_branch_name=${GITHUB_REF##*/}
release_type=release
grep -q "hotfix/" <<< "${GITHUB_REF}" && release_type=hotfix-release
git fetch origin main --depth=1
git fetch origin main
git fetch --tags origin
git merge origin/main
current_version=$(grep -A0 'version:' pubspec.yaml | tail -n1 | awk '{ print $2 }')
Expand Down Expand Up @@ -85,6 +86,7 @@ jobs:
git add .
git commit --amend --no-edit
git for-each-ref refs/tags
git push origin --tags
git push --follow-tags
- name: Create pull request into main
Expand All @@ -94,5 +96,5 @@ jobs:
destination_branch: 'main'
github_token: ${{ secrets.PAT }}
pr_title: 'chore(release): pulling ${{ steps.create-release.outputs.branch_name }} into main'
pr_body: ":crown: *An automated PR*"
pr_body: ':crown: *An automated PR*'
pr_reviewer: 'bardisg,desusai7'
3 changes: 2 additions & 1 deletion .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.PAT }}
run: |
git for-each-ref refs/tags
git tag -a v${{ steps.extract-version.outputs.release_version }} -m "chore: release v${{ steps.extract-version.outputs.release_version }}"
git push origin refs/tags/v${{ steps.extract-version.outputs.release_version }}
DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular
DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular --config github-release.config.js
echo "DATE=$(date)" >> $GITHUB_ENV
- name: Create pull request into develop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install Melos
run: |
dart pub global activate melos
dart pub global activate melos 2.9.0
- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add you .env file as per the .env.sample with secrets used in unit tests.

To setup locally:

dart pub global activate melos
dart pub global activate melos 2.9.0
melos run flutter:upgrade
melos run setup
melos run build:sdk:all
Expand Down
5 changes: 5 additions & 0 deletions github-release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
gitRawCommitsOpts: {
merges: null,
},
};
8 changes: 8 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ scripts:
description: Build the AppCenter integration plugin.
select-package:
scope: '*rudder_integration_appcenter_flutter'

build:integration:appsflyer:
run: |
melos exec -c 1 --fail-fast -- \
"flutter build bundle --target=lib/rudder_integration_appsflyer_flutter.dart"
description: Build the AppsFlyer integration plugin.
select-package:
scope: '*rudder_integration_appsflyer_flutter'

build:integration:braze:
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.5.4'
// Firebase Device Mode
classpath 'com.google.gms:google-services:4.3.13'
}
Expand Down
64 changes: 41 additions & 23 deletions packages/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- Adjust (4.33.3):
- Adjust/Core (= 4.33.3)
- Adjust/Core (4.33.3)
- Adjust (4.33.4):
- Adjust/Core (= 4.33.4)
- Adjust/Core (4.33.4)
- Amplitude (7.2.2)
- Appboy-iOS-SDK (4.4.2):
- Appboy-iOS-SDK/UI (= 4.4.2)
Expand All @@ -20,14 +20,17 @@ PODS:
- Appboy-iOS-SDK/Core
- Appboy-iOS-SDK/InAppMessage
- Appboy-iOS-SDK/NewsFeed
- AppCenter (5.0.0):
- AppCenter/Analytics (= 5.0.0)
- AppCenter/Crashes (= 5.0.0)
- AppCenter/Analytics (5.0.0):
- AppCenter (5.0.1):
- AppCenter/Analytics (= 5.0.1)
- AppCenter/Crashes (= 5.0.1)
- AppCenter/Analytics (5.0.1):
- AppCenter/Core
- AppCenter/Core (5.0.0)
- AppCenter/Crashes (5.0.0):
- AppCenter/Core (5.0.1)
- AppCenter/Crashes (5.0.1):
- AppCenter/Core
- AppsFlyerFramework (6.9.2):
- AppsFlyerFramework/Main (= 6.9.2)
- AppsFlyerFramework/Main (6.9.2)
- FirebaseAnalytics (10.3.0):
- FirebaseAnalytics/AdIdSupport (= 10.3.0)
- FirebaseCore (~> 10.0)
Expand All @@ -50,9 +53,9 @@ PODS:
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/Logger (~> 7.8)
- FirebaseCoreInternal (10.3.0):
- FirebaseCoreInternal (10.5.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseInstallations (10.3.0):
- FirebaseInstallations (10.5.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
Expand Down Expand Up @@ -103,8 +106,8 @@ PODS:
- nanopb/encode (= 2.30909.0)
- nanopb/decode (2.30909.0)
- nanopb/encode (2.30909.0)
- PromisesObjC (2.1.1)
- Rudder (1.8.0)
- PromisesObjC (2.2.0)
- Rudder (1.11.0)
- Rudder-Adjust (1.0.0):
- Adjust
- Rudder
Expand All @@ -114,6 +117,9 @@ PODS:
- Rudder-AppCenter (1.0.1):
- AppCenter
- Rudder
- Rudder-Appsflyer (2.2.0):
- AppsFlyerFramework (~> 6.9.1)
- Rudder (~> 1.0)
- Rudder-Braze (1.0.3):
- Appboy-iOS-SDK (= 4.4.2)
- Rudder (~> 1.0)
Expand All @@ -135,6 +141,10 @@ PODS:
- Flutter
- Rudder-AppCenter (= 1.0.1)
- rudder_plugin_ios
- rudder_integration_appsflyer_flutter (1.0.0):
- Flutter
- Rudder-Appsflyer (= 2.2.0)
- rudder_plugin_ios
- rudder_integration_braze_flutter (1.0.1):
- Flutter
- Rudder-Braze (= 1.0.3)
Expand All @@ -150,15 +160,16 @@ PODS:
- rudder_plugin_ios (0.0.1):
- Flutter
- Rudder (~> 1.8)
- SDWebImage (5.14.3):
- SDWebImage/Core (= 5.14.3)
- SDWebImage/Core (5.14.3)
- SDWebImage (5.15.4):
- SDWebImage/Core (= 5.15.4)
- SDWebImage/Core (5.15.4)

DEPENDENCIES:
- Flutter (from `Flutter`)
- rudder_integration_adjust_flutter (from `.symlinks/plugins/rudder_integration_adjust_flutter/ios`)
- rudder_integration_amplitude_flutter (from `.symlinks/plugins/rudder_integration_amplitude_flutter/ios`)
- rudder_integration_appcenter_flutter (from `.symlinks/plugins/rudder_integration_appcenter_flutter/ios`)
- rudder_integration_appsflyer_flutter (from `.symlinks/plugins/rudder_integration_appsflyer_flutter/ios`)
- rudder_integration_braze_flutter (from `.symlinks/plugins/rudder_integration_braze_flutter/ios`)
- rudder_integration_firebase_flutter (from `.symlinks/plugins/rudder_integration_firebase_flutter/ios`)
- rudder_integration_leanplum_flutter (from `.symlinks/plugins/rudder_integration_leanplum_flutter/ios`)
Expand All @@ -170,6 +181,7 @@ SPEC REPOS:
- Amplitude
- Appboy-iOS-SDK
- AppCenter
- AppsFlyerFramework
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreInternal
Expand All @@ -183,6 +195,7 @@ SPEC REPOS:
- Rudder-Adjust
- Rudder-Amplitude
- Rudder-AppCenter
- Rudder-Appsflyer
- Rudder-Braze
- Rudder-Firebase
- Rudder-Leanplum
Expand All @@ -197,6 +210,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/rudder_integration_amplitude_flutter/ios"
rudder_integration_appcenter_flutter:
:path: ".symlinks/plugins/rudder_integration_appcenter_flutter/ios"
rudder_integration_appsflyer_flutter:
:path: ".symlinks/plugins/rudder_integration_appsflyer_flutter/ios"
rudder_integration_braze_flutter:
:path: ".symlinks/plugins/rudder_integration_braze_flutter/ios"
rudder_integration_firebase_flutter:
Expand All @@ -207,35 +222,38 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/rudder_plugin_ios/ios"

SPEC CHECKSUMS:
Adjust: 41d0d5c031409aebe7fb1f5703ff0d3306133439
Adjust: 4690e07ea401ee56d4d3f4f5bdad86c94f51903f
Amplitude: 517cdc7c485bda64b685174426ecbf17746eb16a
Appboy-iOS-SDK: 4a7dfe908639da81e5e85849355f6066b58b4cc6
AppCenter: 30ac5adefc8fc41d9530f1cc91829810a6af4c93
AppCenter: 18153bb6bc4241d14c8cce57466ac1c88136b476
AppsFlyerFramework: 75e2e46970e520c88b0456dc6fae98c51b36163a
FirebaseAnalytics: 036232b6a1e2918e5f67572417be1173576245f3
FirebaseCore: 988754646ab3bd4bdcb740f1bfe26b9f6c0d5f2a
FirebaseCoreInternal: 29b76f784d607df8b2a1259d73c3f04f1210137b
FirebaseInstallations: e2f26126089dcf41e215f7b8925af8d953c7d602
FirebaseCoreInternal: e463f41bb935cd049505bf7e9a5bdd7dcea90df6
FirebaseInstallations: 935bc4abb6f7a035cab7a0c31cb777b2be3dd254
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
GoogleAppMeasurement: c7d6fff39bf2d829587d74088d582e32d75133c3
GoogleUtilities: c2bdc4cf2ce786c4d2e6b3bcfd599a25ca78f06f
Leanplum-iOS-SDK: 8115f65d185eb94d94c4ab08176dfcb4a8b97926
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
Rudder: 0a5272646aa3b89295526cea2bf54d092044848a
PromisesObjC: 09985d6d70fbe7878040aa746d78236e6946d2ef
Rudder: 9bb3913f997d2b248a7fd44c768994546c53411d
Rudder-Adjust: 5f14011c8f7237d80a96a10655ac03ebf832bcc4
Rudder-Amplitude: f845cc125a1a58d4de6155391a2b0392815ae898
Rudder-AppCenter: 9eca9241e3707a0e9610714dd91dc8da4bae7e1f
Rudder-Appsflyer: b19834ae8d933444411813556e0fe70a33df224a
Rudder-Braze: e58e0e8163a2dcf0d45ec2d12bdb0ec3329c3681
Rudder-Firebase: 9f061bf3c23900e1a8f32f8b079ae17e04874f17
Rudder-Leanplum: e2c9ffa48ea227c3574998afa1e287061ad042ee
rudder_integration_adjust_flutter: c704f2b03feb03e96e7bf32840b1fdd6fafe5f81
rudder_integration_amplitude_flutter: 892a1c13bc857320980ffe32e6ef57d4ea1fe6b3
rudder_integration_appcenter_flutter: 45bd5c618aa22190a132dfc407472fe4fc6ef502
rudder_integration_appsflyer_flutter: afb75a452dd1cf906cc63eeec6695acd56593446
rudder_integration_braze_flutter: 92442da8f6f9561070b46de6d970cfda575ac81b
rudder_integration_firebase_flutter: 07ec024dc124608d7a0e769af86b67a48949cc97
rudder_integration_leanplum_flutter: 48c75a20dc959919ad3249a0288fabf009c8f9db
rudder_plugin_ios: 7f1dbab9c58ef9db8547c29e1335b9144656019b
SDWebImage: 9c36e66c8ce4620b41a7407698dda44211a96764
SDWebImage: 1c39de67663e5eebb2f41324d5d580eeea12dd4c

PODFILE CHECKSUM: 8ac12c04bf01db6d6e9ee903496e5f7eda779c7c

Expand Down
Loading

0 comments on commit cca7cbf

Please sign in to comment.