From e4efb31738ffe744234a7939c2d95633f9c300e2 Mon Sep 17 00:00:00 2001 From: Tudor Date: Wed, 6 Sep 2023 13:53:54 +0300 Subject: [PATCH] Fix #790 order of parameters for `register` on iOS (#804) * Fix order of parameters for `register` on iOS * chore: add changeset --------- Co-authored-by: Tudor M Co-authored-by: Rob Walker --- .changeset/curly-years-obey.md | 5 +++++ ios/RNAppAuth.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/curly-years-obey.md diff --git a/.changeset/curly-years-obey.md b/.changeset/curly-years-obey.md new file mode 100644 index 00000000..930c2a21 --- /dev/null +++ b/.changeset/curly-years-obey.md @@ -0,0 +1,5 @@ +--- +'react-native-app-auth': patch +--- + +Fix order of parameters for register on iOS diff --git a/ios/RNAppAuth.m b/ios/RNAppAuth.m index e13ae252..1dcbd0b5 100644 --- a/ios/RNAppAuth.m +++ b/ios/RNAppAuth.m @@ -46,8 +46,8 @@ - (dispatch_queue_t)methodQueue subjectType: (NSString *) subjectType tokenEndpointAuthMethod: (NSString *) tokenEndpointAuthMethod additionalParameters: (NSDictionary *_Nullable) additionalParameters - connectionTimeoutSeconds: (double) connectionTimeoutSeconds serviceConfiguration: (NSDictionary *_Nullable) serviceConfiguration + connectionTimeoutSeconds: (double) connectionTimeoutSeconds additionalHeaders: (NSDictionary *_Nullable) additionalHeaders resolve: (RCTPromiseResolveBlock) resolve reject: (RCTPromiseRejectBlock) reject)