Skip to content

Commit 24f3fc3

Browse files
committed
Fix remove email parameters sent to native
Pass email arguement down to native SDK method
1 parent 34b8ca1 commit 24f3fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/user.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class OneSignalUser {
8787
/// Returns false if the specified [email] does not exist
8888
/// on the user within the SDK, and no request will be made.
8989
Future<void> removeEmail(String email) async {
90-
return await _channel.invokeMethod("OneSignal#removeEmail");
90+
return await _channel.invokeMethod("OneSignal#removeEmail", email);
9191
}
9292

9393
/// Add a new SMS subscription to the current user.

0 commit comments

Comments
 (0)