From 99ecde1a39b90bd3081ddb1a29e2491e99857330 Mon Sep 17 00:00:00 2001 From: bang9dev Date: Fri, 7 Feb 2020 10:31:06 +0900 Subject: [PATCH 1/2] fix: added missing email crypt type in iOS --- ios/RNAppsFlyer.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/RNAppsFlyer.m b/ios/RNAppsFlyer.m index 3ca0f61e..ede6da59 100755 --- a/ios/RNAppsFlyer.m +++ b/ios/RNAppsFlyer.m @@ -119,6 +119,9 @@ @implementation RNAppsFlyer case EmailCryptTypeMD5: emailsCryptType = EmailCryptTypeMD5; break; + case EmailCryptTypeSHA256: + emailsCryptType = EmailCryptTypeSHA256; + break; default: emailsCryptType = EmailCryptTypeNone; } From 47effe12bcadcd53a2ea25558311c2eed7cbbfa0 Mon Sep 17 00:00:00 2001 From: bang9dev Date: Fri, 7 Feb 2020 12:54:56 +0900 Subject: [PATCH 2/2] docs(api): update emailCryptType description --- Docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/API.md b/Docs/API.md index 5e256bf8..c486a43a 100755 --- a/Docs/API.md +++ b/Docs/API.md @@ -376,7 +376,7 @@ Set the user emails and encrypt them. | option | type | description | | -------------- | ---- |------------- | -| emailsCryptType | int | none - 0 (default), SHA1 - 1, MD5 - 2 | +| emailsCryptType | int | none - 0 (default), SHA1 - 1, MD5 - 2, SHA256 - 3 | | emails | array | comma separated list of emails |