flutter_cognito_plugin icon indicating copy to clipboard operation
flutter_cognito_plugin copied to clipboard

The app is working on iPhone XS but giving error on iPhone 11 and others method are working fine

Open androidshivam opened this issue 4 years ago • 0 comments

D/PluginScaffold: invoking { channel: com.pycampers.flutter_cognito_plugin, method: signIn(), args: Optional({ password = 123456; username = "[email protected]"; }) } D/PluginScaffold: piping exception to flutter (Cannot set the result on a completed task. ( 0 CoreFoundation 0x00000001942a6768 4FBDF167-161A-324C-A233-D516922C67E5 + 1218408 1 libobjc.A.dylib 0x00000001a8d6d7a8 objc_exception_throw + 60 2 CoreFoundation 0x000000019419b7e0 4FBDF167-161A-324C-A233-D516922C67E5 + 124896 3 AWSMobileClient 0x0000000100cb08fc $s15AWSMobileClientAAC6signIn8username8password14validationData17completionHandlerySS_SSSDyS2SGSgyAA04SignD6ResultVSg_s5Error_pSgtctF + 1236 4 flutter_cognito_plugin 0x000000010caa2818 $s22flutter_cognito_plugin7CognitoC6signIn4call6resultySo17FlutterMethodCallC_yypSgctF + 636 5 flutter_cognito_plugin 0x000000010caa8770 $sSo17FlutterMethodCallCypSgIegn_Ieggg_ABxq_r0_lyACytIsegnr_ytIegnnr_TRTA + 88 6 plugin_scaffold 0x000000010cb31f54 $s15plugin_scaffold20createPluginScaffold9messenger11channelName9methodMapSo20FlutterMethodChannelCSo0K15BinaryMessenger_p_SSSDySSypGtFySo0kL4CallC_yypSgctcfU_yycfU_TA + 4532 7 plugin_scaffold 0x000000010cb30834 $s15plugin_scaffold11catchErrorsyyyypSgc_yyKctFyycfU_TA + 44 8 plugin_scaffold 0x000000010cb2f9a4 $sIeg_IeyB_TR + 20 9 plugin_scaffold 0x000000010cb2ed9c +[PluginScaffoldHelper tryCatch:onCatch:onElse:]

  • 72 10 plugin_scaffold 0x000000010cb2f958 $s15plugin_scaffold11catchErrorsyyyypSgc_yyKctF + 356 11 plugin_scaffold 0x000000010cb30ccc $s15plugin_scaffold20createPluginScaffold9messenger11channelName9methodMapSo20FlutterMethodChannelCSo0K15BinaryMessenger_p_SSSDySSypGtFySo0kL4CallC_yypSgctcfU_TA + 148 12 plugin_scaffold 0x000000010cb30380 $sSo17FlutterMethodCallCypSgIegn_Ieggg_AByXlSgIeyBy_IeyByy_TR + 96 13 Flutter 0x0000000101479958 Flutter + 5560664 14 Flutter 0x0000000100f5c618 Flutter + 198168 15 Flutter 0x0000000101222f6c Flutter + 3108716 16 Flutter 0x0000000100f656c4 Flutter + 235204 17 Flutter 0x0000000100f6733c Flutter + 242492 18 CoreFoundation 0x000000019422122c 4FBDF167-161A-324C-A233-D516922C67E5 + 672300 19 CoreFoundation 0x0000000194220e28 4FBDF167-161A-324C-A233-D516922C67E5 + 671272 20 CoreFoundation 0x0000000194220278 4FBDF167-161A-324C-A233-D516922C67E5 + 668280 21 CoreFoundation 0x000000019421a02c 4FBDF167-161A-324C-A233-D516922C67E5 + 643116 22 CoreFoundation 0x0000000194219360 CFRunLoopRunSpecific + 600 23 GraphicsServices 0x00000001ab857734 GSEventRunModal + 164 24 UIKitCore 0x0000000196c94584 33B02AB5-5DAF-3249-8DC6-5872DF830EC5 + 12363140 25 UIKitCore 0x0000000196c99df4 UIApplicationMain + 168 26 Runner 0x0000000100347558 main + 64 27 libdyld.dylib 0x0000000193ed5cf8 E574A365-9878-348A-8E84-91E163CFC128 + 7416 )) 2021-06-23 14:19:39.616336+0530 Runner[5314:1435083] [VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception: type 'PlatformException' is not a subtype of type 'String' #0 CognitoService.signIn (package:qure/services/cognito_service.dart:173)

androidshivam avatar Jun 28 '21 06:06 androidshivam