Skip to content

Commit

Permalink
feat!: flutter as a source for Data pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahroz16 authored Dec 10, 2024
2 parents ad39205 + 061be53 commit 21a2bf0
Show file tree
Hide file tree
Showing 78 changed files with 2,401 additions and 1,771 deletions.
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

0 comments on commit 21a2bf0

Please sign in to comment.