Skip to content

Commit e1f6023

Browse files
committed
Return SMS user id instead of number
1 parent a8d0af2 commit e1f6023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/onesignal/flutter/OneSignalSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static HashMap<String, Object> convertEmailSubscriptionStateToMap(OSEmai
6161
private static HashMap<String, Object> convertSMSSubscriptionStateToMap(OSSMSSubscriptionState state) {
6262
HashMap<String, Object> hash = new HashMap<>();
6363

64-
hash.put("smsUserId", state.getSMSNumber());
64+
hash.put("smsUserId", state.getSmsUserId());
6565
hash.put("smsNumber", state.getSMSNumber());
6666
hash.put("isSubscribed", state.isSubscribed());
6767

0 commit comments

Comments
 (0)