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

chore: add android user agent client source #168

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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>
13 changes: 13 additions & 0 deletions android/src/main/res/values/customer_io_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
SDK source to be used in user-agent string
-->
<string name="customer_io_wrapper_sdk_client_source">Flutter</string>
<!--
SDK version to be used in user-agent string
This will be updated by update-version script with Flutter package version
whenever new version of Flutter package is released
-->
<string name="customer_io_wrapper_sdk_client_version">1.5.2</string>
</resources>
Loading