fix: appsflyer attribution error due to install conversion data failure#556
Merged
alanjcharles merged 1 commit intosegmentio:masterfrom May 31, 2022
manueljtejada:fix/install-attribution
Merged
fix: appsflyer attribution error due to install conversion data failure#556alanjcharles merged 1 commit intosegmentio:masterfrom manueljtejada:fix/install-attribution
alanjcharles merged 1 commit intosegmentio:masterfrom
manueljtejada:fix/install-attribution
Conversation
alanjcharles
approved these changes
May 31, 2022
Contributor
|
thanks @manueljtejada! |
oscb
pushed a commit
that referenced
this pull request
Jun 24, 2022
## [@segment/analytics-react-native-plugin-appsflyer-v0.3.3](https://github.com/segmentio/analytics-react-native/compare/@segment/analytics-react-native-plugin-appsflyer-v0.3.2...@segment/analytics-react-native-plugin-appsflyer-v0.3.3) (2022-06-24) ### Bug Fixes * attribution error due to install conversion data failure ([#556](#556)) ([8327bf8](8327bf8))
Contributor
|
🎉 This PR is included in version @segment/analytics-react-native-plugin-appsflyer-v0.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
jezallan
pushed a commit
to uswitch/analytics-react-native
that referenced
this pull request
Jun 29, 2022
## @uswitch/analytics-react-native-plugin-appsflyer-v1.0.0 (2022-06-29) ### Features * add analytics 2.0 ([segmentio#360](https://github.com/uswitch/analytics-react-native/issues/360)) ([829fc80](829fc80)) * add attribution callbacks to appsflyer ([segmentio#528](https://github.com/uswitch/analytics-react-native/issues/528)) ([b5074f7](b5074f7)) ### Bug Fixes * appsflyer attribution ([segmentio#547](https://github.com/uswitch/analytics-react-native/issues/547)) ([494df24](494df24)) * attribution error due to install conversion data failure ([segmentio#556](https://github.com/uswitch/analytics-react-native/issues/556)) ([8327bf8](8327bf8)) * relative import removed in appsflyer plugin ([segmentio#369](https://github.com/uswitch/analytics-react-native/issues/369)) ([ab23d2e](ab23d2e))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR prevents the
onInstallConversionDatahandler from throwing an error when the SDK is not able to get the conversion data. In this case,res?.data?.is_first_launchwould be undefined andJSON.parsewould fail.Sample payload in
onInstallConversionDatathat would cause this error: