Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: flutter as a source for Data pipelines #187

Merged
merged 36 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a783266
chore: update public API (#152)
Shahroz16 Oct 29, 2024
581f039
chore: update iOS native dependencies to Data Pipelines (#153)
mrehan27 Oct 29, 2024
8ab1e27
chore: update Android native dependencies to Data Pipelines (#154)
mrehan27 Oct 29, 2024
b36f564
chore: fix ios native sdk version (#155)
mrehan27 Oct 29, 2024
0ed2485
chore: update config for data pipelines support (#157)
mrehan27 Nov 5, 2024
9eb5f45
chore: hook sample app with flutter source (#158)
Shahroz16 Nov 6, 2024
e9af59b
chore: initialize native ios sdk in flutter (#160)
mrehan27 Nov 6, 2024
380a50f
chore: initialize native android sdk in flutter (#159)
mrehan27 Nov 6, 2024
6fffd15
chore: added config for tracking lifecycle (#161)
Shahroz16 Nov 6, 2024
40c14f0
chore: added identify and attributes (#163)
Shahroz16 Nov 7, 2024
478d71e
chore: update sample app settings ui for data pipelines (#162)
mrehan27 Nov 7, 2024
d7f3074
chore: update event tracking parameters (#164)
mrehan27 Nov 8, 2024
e3301f4
Merge branch 'main' into feature/data-pipelines-support
mrehan27 Nov 8, 2024
76ea710
chore: update screen tracking parameters (#167)
mrehan27 Nov 11, 2024
4832649
chore: add android user agent client source (#168)
mrehan27 Nov 12, 2024
a050e25
chore: configure ios user agent client source (#169)
mrehan27 Nov 12, 2024
c1ec3de
chore: update script for sdk versioning (#170)
mrehan27 Nov 12, 2024
8197413
chore: fetch registered device token (#171)
mrehan27 Nov 14, 2024
8a06a9b
chore: register device token (#172)
Shahroz16 Nov 15, 2024
0fadd4d
chore: added device attributes support (#173)
Shahroz16 Nov 19, 2024
ce1140c
chore: manual metric tracking (#174)
Shahroz16 Nov 20, 2024
24108dd
Merge branch 'main' into feature/data-pipelines-support
Shahroz16 Nov 20, 2024
a18bce7
chore: configure android push module (#176)
mrehan27 Nov 20, 2024
8bbb46d
chore: added config and initialized native modules (#177)
Shahroz16 Nov 20, 2024
d66b25c
chore: initialize messaging push module (#178)
mrehan27 Nov 25, 2024
bd03be8
chore: added in-app event listeners (#180)
Shahroz16 Nov 25, 2024
ae09860
chore: rename android classes and method extensions (#179)
mrehan27 Nov 26, 2024
84a5fa7
chore: refactor native android call forwarding (#182)
mrehan27 Nov 26, 2024
94a65e0
chore: refactor dart call forwarding (#183)
mrehan27 Nov 28, 2024
5dbbf50
chore: refactor ios in-app classes and fix naming (#184)
mrehan27 Nov 28, 2024
1caad03
chore: refactor native ios call handling (#185)
mrehan27 Nov 28, 2024
a2d084b
chore: rename event listener for in-app (#186)
Shahroz16 Nov 29, 2024
1fcc010
chore: native SDKs version bump
Shahroz16 Dec 3, 2024
f29a417
chore: cleanup files and fixes
Shahroz16 Dec 10, 2024
0f4b308
chore: updated push config value
Shahroz16 Dec 10, 2024
061be53
chore: fix tests
Shahroz16 Dec 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build-sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,12 @@ jobs:
run: |
cp ".env.example" ".env"
sd 'SITE_ID=.*' "SITE_ID=${{ secrets[format('CUSTOMERIO_{0}_WORKSPACE_SITE_ID', matrix.sample-app)] }}" ".env"
sd 'API_KEY=.*' "API_KEY=${{ secrets[format('CUSTOMERIO_{0}_WORKSPACE_API_KEY', matrix.sample-app)] }}" ".env"
sd 'CDP_API_KEY=.*' "CDP_API_KEY=${{ secrets[format('CUSTOMERIO_{0}_WORKSPACE_CDP_API_KEY', matrix.sample-app)] }}" ".env"

- name: Setup workspace credentials in iOS environment files
run: |
cp "ios/Env.swift.example" "ios/Env.swift"
sd 'siteId: String = ".*"' "siteId: String = \"${{ secrets[format('CUSTOMERIO_{0}_WORKSPACE_SITE_ID', matrix.sample-app)] }}\"" "ios/Env.swift"
sd 'apiKey: String = ".*"' "apiKey: String = \"${{ secrets[format('CUSTOMERIO_{0}_WORKSPACE_API_KEY', matrix.sample-app)] }}\"" "ios/Env.swift"
sd 'cdpApiKey: String = ".*"' "cdpApiKey: String = \"${{ secrets[format('CUSTOMERIO_{0}_WORKSPACE_CDP_API_KEY', matrix.sample-app)] }}\"" "ios/Env.swift"

# Make sure to fetch dependencies only after updating the version numbers and workspace credentials

Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/build.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"assets": [
"CHANGELOG.md",
"pubspec.yaml",
"lib/customer_io_plugin_version.dart"
"lib/customer_io_plugin_version.dart",
"android/src/main/res/values/customer_io_config.xml"
],
"message": "chore: prepare for ${nextRelease.version}\n\n${nextRelease.notes}"
}
Expand Down
5 changes: 2 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ rootProject.allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://maven.gist.build' }
}
}

Expand Down Expand Up @@ -59,8 +58,8 @@ android {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
// Customer.io SDK
def cioVersion = "3.11.2"
implementation "io.customer.android:tracking:$cioVersion"
def cioVersion = "4.4.1"
implementation "io.customer.android:datapipelines:$cioVersion"
implementation "io.customer.android:messaging-push-fcm:$cioVersion"
implementation "io.customer.android:messaging-in-app:$cioVersion"
}
16 changes: 15 additions & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
<manifest />
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<!--
Provide source and version of Customer.io Flutter SDK so user agent can be
generated based on this information.
-->
<meta-data
android:name="io.customer.sdk.android.core.SDK_SOURCE"
android:value="@string/customer_io_wrapper_sdk_client_source" />
<meta-data
android:name="io.customer.sdk.android.core.SDK_VERSION"
android:value="@string/customer_io_wrapper_sdk_client_version" />
</application>
</manifest>

This file was deleted.

Loading
Loading