Skip to content

Commit

Permalink
Added code for creating a recoveryKey in iOS as per protocol 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Feb 27, 2024
1 parent 7938402 commit a2bbd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/AblyFlutter.m
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ -(void)reset;
AblyFlutterMessage *const ablyMessage = call.arguments;
AblyInstanceStore *const instanceStore = [ably instanceStore];
ARTRealtime *const realtime = [instanceStore realtimeFrom:ablyMessage.handle];
NSString *const connectionRecoveryKey = [realtime.connection recoveryKey];
NSString *const connectionRecoveryKey = [realtime.connection createRecoveryKey];
result(connectionRecoveryKey);
};

Expand Down

0 comments on commit a2bbd8a

Please sign in to comment.