ordering-ui-react-native 0.15.60 → 0.15.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -34,7 +34,8 @@ export const AppleLogin = (props: any) => {
|
|
|
34
34
|
method: 'POST',
|
|
35
35
|
headers: { 'Content-Type': 'application/json' },
|
|
36
36
|
body: JSON.stringify({
|
|
37
|
-
code: code
|
|
37
|
+
code: code,
|
|
38
|
+
platform: Platform.OS === 'ios' ? 'ios' : 'other'
|
|
38
39
|
})
|
|
39
40
|
})
|
|
40
41
|
const { result, error } = await response.json()
|
|
@@ -44,7 +45,7 @@ export const AppleLogin = (props: any) => {
|
|
|
44
45
|
handleLoading && handleLoading(false)
|
|
45
46
|
}
|
|
46
47
|
} else {
|
|
47
|
-
showToast(ToastType.Error, `Error login on apple from api Code: ${code}`, 10000)
|
|
48
|
+
showToast(ToastType.Error, `Error login on apple from api Code: ${code} ${Platform.OS}`, 10000)
|
|
48
49
|
handleLoading && handleLoading(false)
|
|
49
50
|
}
|
|
50
51
|
} catch (err: any) {
|