-
Notifications
You must be signed in to change notification settings - Fork 11
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: add option to disable screen view usage #190
Conversation
Sample app builds 📱Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
|
@@ -1,7 +1,7 @@ | |||
# ------------- | |||
# This code only used internally for Customer.io testing | |||
require 'open-uri' | |||
IO.copy_stream(URI.open('https://raw.githubusercontent.com/customerio/customerio-ios/v2/scripts/cocoapods_override_sdk.rb'), "/tmp/override_cio_sdk.rb") | |||
IO.copy_stream(URI.open('https://raw.githubusercontent.com/customerio/customerio-ios/main/scripts/cocoapods_override_sdk.rb'), "/tmp/override_cio_sdk.rb") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated so we can use data pipeline release
inAppConfig: InAppConfig( | ||
siteId: prefs.getString(_PreferencesKey.migrationSiteId) ?? ""), | ||
); | ||
} | ||
|
||
Map<String, dynamic> toMap() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see it being used anywhere so removed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i do think we have updated iOS versions too. Can you update that as well?
iOS SDK version is already updated to current latest, but we plan to roll out another fix on iOS early next week. We'll hold off on merging this PR until the fix is released and update iOS version to latest again after iOS release. |
## [2.1.0](2.0.0...2.1.0) (2025-01-06) ### Features * add option to disable screen view usage ([#190](#190)) ([b4a4fed](b4a4fed))
closes: MBL-758
Changes
screenViewUse
config to disable sending screen view events to server, allowing local usage only4.5.0
and iOS SDK to version3.7.1
to support newScreenView
configuration optionscreenViewUse
configuration to native SDKs for appropriate handlingscreenViewUse
configuration to be modified from the settings page for testing purposesScreenView
OptionsAnalytics
-> Sends all screen events to the server (same as before) - Default behaviorInApp
-> Retains screen events locally for in-app use onlySample Usage
Screenshot (Sample App)