darwin-morocho / flutter-facebook-auth

A flutter plugin to add login with facebook in your flutter app
193 stars 127 forks source link

Crashes on ios #324

Closed kristijorgji closed 1 year ago

kristijorgji commented 1 year ago

What version are you using?

5.0.7

What OS and version are you using to local deploy your application?

macOs Monterey

What platforms are you seeing the problem on?

iOS

pubspec.yaml

flutter_facebook_auth: ^5.0.7

Describe the Bug

The iosemulator is crashing when I click "Run"

Expected Behavior

the app should start running instead of crashing the emulator

To Reproduce

INstall the library with the provided version and try to start the ios emulator

Relevant log output

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 8C56BA3D-7B22-408E-BAF7-25ECA778B709
CrashReporter Key:   9C28EC61-F1F8-1144-FBBD-4A11CDE7B938
Hardware Model:      MacBookPro18,1
Process:             Runner [79884]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/89488209-B791-4B33-872D-C6620B375B95/data/Containers/Bundle/Application/6E1BBFBE-B7B2-4077-B5F4-F3950209283F/Runner.app/Runner
Identifier:          com.example.debug
Version:             2.3.6 (46)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [54793]
Coalition:           com.apple.CoreSimulator.SimDevice.89488209-B791-4B33-872D-C6620B375B95 [79389]
Responsible Process: SimulatorTrampoline [15643]

Date/Time:           2023-01-26 16:17:07.3632 +0100
Launch Time:         2023-01-26 16:17:06.3417 +0100
OS Version:          macOS 12.4 (21F79)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                         0x1803e1174 __exceptionPreprocess + 216
1   libobjc.A.dylib                        0x180193384 objc_exception_throw + 56
2   FBSDKCoreKit                           0x1036c061c -[FBSDKGraphRequestConnection userAgent] + 0 (FBSDKGraphRequestConnection.m:1285)
3   FBSDKCoreKit                           0x1036c0134 -[FBSDKGraphRequestConnection accessTokenWithRequest:] + 64 (FBSDKGraphRequestConnection.m:1245)
4   FBSDKCoreKit                           0x1036bb968 -[FBSDKGraphRequestConnection appendJSONRequests:toBody:andNameAttachments:logger:] + 372 (FBSDKGraphRequestConnection.m:512)
5   FBSDKCoreKit                           0x1036bc434 -[FBSDKGraphRequestConnection requestWithBatch:timeout:] + 1164 (FBSDKGraphRequestConnection.m:624)
6   FBSDKCoreKit                           0x1036bab18 -[FBSDKGraphRequestConnection start] + 236 (FBSDKGraphRequestConnection.m:369)
7   FBSDKCoreKit                           0x10369c840 -[FBSDKAppEventsConfigurationManager loadAppEventsConfigurationWithBlock:] + 968 (FBSDKAppEventsConfigurationManager.m:103)
8   FBSDKCoreKit                           0x103697c54 -[FBSDKAppEvents fetchServerConfiguration:] + 148 (FBSDKAppEvents.m:926)
9   FBSDKCoreKit                           0x1036970ac -[FBSDKAppEvents publishInstall] + 276 (FBSDKAppEvents.m:863)
10  FBSDKCoreKit                           0x1036957d0 -[FBSDKAppEvents activateApp] + 180 (FBSDKAppEvents.m:428)
11  FBSDKCoreKit                           0x1036ff284 ApplicationDelegate.applicationDidBecomeActive(_:) + 232 (ApplicationDelegate.swift:390)
12  FBSDKCoreKit                           0x103701b48 @objc ApplicationDelegate.applicationDidBecomeActive(_:) + 204
13  CoreFoundation                         0x180321404 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
14  CoreFoundation                         0x1803213bc ___CFXRegistrationPost_block_invoke + 48
15  CoreFoundation                         0x1803207e0 _CFXRegistrationPost + 416
16  CoreFoundation                         0x1803201c8 _CFXNotificationPost + 680
17  Foundation                             0x1807c442c -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
18  UIKitCore                              0x184d8e92c -[UIApplication _stopDeactivatingForReason:] + 1396
19  UIKitCore                              0x1843bbbd0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 328
20  UIKitCore                              0x1843bbf0c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 732
21  UIKitCore                              0x1843bb818 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 336
22  UIKitCore                              0x1843c5370 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 188
23  UIKitCore                              0x18483a2e4 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 812
24  UIKitCore                              0x18495eb74 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 248
25  UIKitCore                              0x1843c4ff0 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 356
26  UIKitCore                              0x1841dd850 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.576 + 744
27  UIKitCore                              0x1841dc250 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
28  UIKitCore                              0x1841dd430 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 264
29  UIKitCore                              0x184869d74 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 464
30  FrontBoardServices                     0x18614c470 -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 500
31  FrontBoardServices                     0x186179adc __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 124
32  FrontBoardServices                     0x18615a160 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232
33  FrontBoardServices                     0x186179a28 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 368
34  libdispatch.dylib                      0x18010a5a4 _dispatch_client_callout + 16
35  libdispatch.dylib                      0x18010ddb0 _dispatch_block_invoke_direct + 244
36  FrontBoardServices                     0x18619d9a0 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
37  FrontBoardServices                     0x18619d878 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
38  FrontBoardServices                     0x18619d9d0 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
39  CoreFoundation                         0x1803502c0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
40  CoreFoundation                         0x1803501c8 __CFRunLoopDoSource0 + 200
41  CoreFoundation                         0x18034f554 __CFRunLoopDoSources0 + 256
42  CoreFoundation                         0x180349b9c __CFRunLoopRun + 744
43  CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
44  GraphicsServices                       0x18c03c5ec GSEventRunModal + 160
45  UIKitCore                              0x184d937ac -[UIApplication _run] + 992
46  UIKitCore                              0x184d982e8 UIApplicationMain + 112
47  Runner                                 0x102c2b194 main + 64 (AppDelegate.swift:5)
48  dyld_sim                               0x103001ca0 start_sim + 20
49  dyld                                   0x1031b508c start + 520
50  ???                             0xdd17800000000000 ???

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1c997ce60 __pthread_kill + 8
1   libsystem_pthread.dylib                0x1c99d03c0 pthread_kill + 256
2   libsystem_c.dylib                      0x1800fe460 __abort + 124
3   libsystem_c.dylib                      0x1800fe3e4 abort + 132
4   libc++abi.dylib                        0x18022de94 abort_message + 128
5   libc++abi.dylib                        0x18021fc98 demangling_terminate_handler() + 296
6   libobjc.A.dylib                        0x180176e84 _objc_terminate() + 124
7   FirebaseCrashlytics                    0x103a1e8fc FIRCLSTerminateHandler() + 372 (FIRCLSException.mm:452)
8   libc++abi.dylib                        0x18022d358 std::__terminate(void (*)()) + 16
9   libc++abi.dylib                        0x18022d300 std::terminate() + 60
10  libdispatch.dylib                      0x18010a5b8 _dispatch_client_callout + 36
11  libdispatch.dylib                      0x18010ddb0 _dispatch_block_invoke_direct + 244
12  FrontBoardServices                     0x18619d9a0 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
13  FrontBoardServices                     0x18619d878 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
14  FrontBoardServices                     0x18619d9d0 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
15  CoreFoundation                         0x1803502c0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
16  CoreFoundation                         0x1803501c8 __CFRunLoopDoSource0 + 200
17  CoreFoundation                         0x18034f554 __CFRunLoopDoSources0 + 256
18  CoreFoundation                         0x180349b9c __CFRunLoopRun + 744
19  CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
20  GraphicsServices                       0x18c03c5ec GSEventRunModal + 160
21  UIKitCore                              0x184d937ac -[UIApplication _run] + 992
22  UIKitCore                              0x184d982e8 UIApplicationMain + 112
23  Runner                                 0x102c2b194 main + 64 (AppDelegate.swift:5)
24  dyld_sim                               0x103001ca0 start_sim + 20
25  dyld                                   0x1031b508c start + 520

Thread 1::  Dispatch queue: GULLoggingClientQueue
0   libsystem_trace.dylib                  0x18004ad30 os_log_type_enabled + 176
1   libsystem_trace.dylib                  0x18004e034 _os_log_with_args_impl + 96
2   libsystem_trace.dylib                  0x18004e034 _os_log_with_args_impl + 96
3   libsystem_asl.dylib                    0x185725494 asl_log + 128
4   GoogleUtilities                        0x103ba9908 __GULLogBasic_block_invoke + 96 (GULLogger.m:172)
5   libdispatch.dylib                      0x180108db0 _dispatch_call_block_and_release + 24
6   libdispatch.dylib                      0x18010a5a4 _dispatch_client_callout + 16
7   libdispatch.dylib                      0x180111674 _dispatch_lane_serial_drain + 652
8   libdispatch.dylib                      0x180112200 _dispatch_lane_invoke + 400
9   libdispatch.dylib                      0x18011ca64 _dispatch_workloop_worker_thread + 744
10  libsystem_pthread.dylib                0x1c99ccb40 _pthread_wqthread + 284
11  libsystem_pthread.dylib                0x1c99cb904 start_wqthread + 8

Thread 2:
0   libsystem_pthread.dylib                0x1c99cb8fc start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib                0x1c99cb8fc start_wqthread + 0

Thread 4:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib                 0x1c9974fcc mach_msg_trap + 8
1   libsystem_kernel.dylib                 0x1c9975430 mach_msg + 72
2   CoreFoundation                         0x18034f810 __CFRunLoopServiceMachPort + 368
3   CoreFoundation                         0x180349d24 __CFRunLoopRun + 1136
4   CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
5   Foundation                             0x180811e14 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232
6   Foundation                             0x1808120cc -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
7   UIKitCore                              0x184e47b64 -[UIEventFetcher threadMain] + 472
8   Foundation                             0x18083b97c __NSThread__start__ + 788
9   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
10  libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 5:
0   libsystem_pthread.dylib                0x1c99cb8fc start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib                0x1c99cb8fc start_wqthread + 0

Thread 7:: io.flutter.1.ui
0   Flutter                                0x10712bb18 dart::kernel::KernelReaderHelper::SourceTableSize() + 204
1   Flutter                                0x106ebfe00 dart::kernel::KernelLoader::LoadEntireProgram(dart::kernel::Program*, bool) + 488
2   Flutter                                0x106ebfe00 dart::kernel::KernelLoader::LoadEntireProgram(dart::kernel::Program*, bool) + 488
3   Flutter                                0x1071ac7f8 Dart_LoadLibraryFromKernel + 332
4   Flutter                                0x106e29644 flutter::DartIsolate::LoadKernel(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<fml::Mapping const> const&, bool) + 200
5   Flutter                                0x106e29768 flutter::DartIsolate::PrepareForRunningFromKernel(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<fml::Mapping const> const&, bool, bool) + 228
6   Flutter                                0x106e31d48 flutter::KernelIsolateConfiguration::DoPrepareIsolate(flutter::DartIsolate&) + 116
7   Flutter                                0x106e27804 flutter::DartIsolate::CreateRunningRootIsolate(flutter::Settings const&, fml::RefPtr<flutter::DartSnapshot const> const&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::PlatformConfiguration, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::PlatformConfiguration> >, flutter::DartIsolate::Flags, std::_LIBCPP_ABI_NAMESPACE::function<void ()> const&, std::_LIBCPP_ABI_NAMESPACE::function<void ()> const&, std::_LIBCPP_ABI_NAMESPACE::function<void ()> const&, std::_LIBCPP_ABI_NAMESPACE::optional<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > >, std::_LIBCPP_ABI_NAMESPACE::optional<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > >, std::_LIBCPP_ABI_NAMESPACE::vector<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> >, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > > > const&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::IsolateConfiguration, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::IsolateConfiguration> >, flutter::UIDartState::Context const&, flutter::DartIsolate const*) + 644
8   Flutter                                0x106e33a80 flutter::RuntimeController::LaunchRootIsolate(flutter::Settings const&, std::_LIBCPP_ABI_NAMESPACE::function<void ()> const&, std::_LIBCPP_ABI_NAMESPACE::optional<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > >, std::_LIBCPP_ABI_NAMESPACE::optional<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > >, std::_LIBCPP_ABI_NAMESPACE::vector<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> >, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > > > const&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::IsolateConfiguration, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::IsolateConfiguration> >) + 476
9   Flutter                                0x106c60fe8 flutter::Engine::Run(flutter::RunConfiguration) + 360
10  Flutter                                0x106c7816c std::_LIBCPP_ABI_NAMESPACE::__function::__func<fml::internal::CopyableLambda<flutter::Shell::RunEngine(flutter::RunConfiguration, std::_LIBCPP_ABI_NAMESPACE::function<void (flutter::Engine::RunStatus)> const&)::$_7>, std::_LIBCPP_ABI_NAMESPACE::allocator<fml::internal::CopyableLambda<flutter::Shell::RunEngine(flutter::RunConfiguration, std::_LIBCPP_ABI_NAMESPACE::function<void (flutter::Engine::RunStatus)> const&)::$_7> >, void ()>::operator()() + 84
11  Flutter                                0x106b62744 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 156
12  Flutter                                0x106b68d94 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
13  CoreFoundation                         0x180350aa0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
14  CoreFoundation                         0x1803506b0 __CFRunLoopDoTimer + 1000
15  CoreFoundation                         0x18034fbbc __CFRunLoopDoTimers + 324
16  CoreFoundation                         0x18034a000 __CFRunLoopRun + 1868
17  CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
18  Flutter                                0x106b68ec4 fml::MessageLoopDarwin::Run() + 88
19  Flutter                                0x106b62658 fml::MessageLoopImpl::DoRun() + 40
20  Flutter                                0x106b67cc4 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
21  libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
22  libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 8:: io.flutter.1.raster
0   libsystem_kernel.dylib                 0x1c9974fcc mach_msg_trap + 8
1   libsystem_kernel.dylib                 0x1c9975430 mach_msg + 72
2   CoreFoundation                         0x18034f810 __CFRunLoopServiceMachPort + 368
3   CoreFoundation                         0x180349d24 __CFRunLoopRun + 1136
4   CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
5   Flutter                                0x106b68ec4 fml::MessageLoopDarwin::Run() + 88
6   Flutter                                0x106b62658 fml::MessageLoopImpl::DoRun() + 40
7   Flutter                                0x106b67cc4 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
8   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
9   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 9:: io.flutter.1.io
0   libsystem_kernel.dylib                 0x1c9974fcc mach_msg_trap + 8
1   libsystem_kernel.dylib                 0x1c9975430 mach_msg + 72
2   CoreFoundation                         0x18034f810 __CFRunLoopServiceMachPort + 368
3   CoreFoundation                         0x180349d24 __CFRunLoopRun + 1136
4   CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
5   Flutter                                0x106b68ec4 fml::MessageLoopDarwin::Run() + 88
6   Flutter                                0x106b62658 fml::MessageLoopImpl::DoRun() + 40
7   Flutter                                0x106b67cc4 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
8   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
9   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 10:: io.flutter.1.profiler
0   libsystem_kernel.dylib                 0x1c9974fcc mach_msg_trap + 8
1   libsystem_kernel.dylib                 0x1c9975430 mach_msg + 72
2   CoreFoundation                         0x18034f810 __CFRunLoopServiceMachPort + 368
3   CoreFoundation                         0x180349d24 __CFRunLoopRun + 1136
4   CoreFoundation                         0x1803493a8 CFRunLoopRunSpecific + 572
5   Flutter                                0x106b68ec4 fml::MessageLoopDarwin::Run() + 88
6   Flutter                                0x106b62658 fml::MessageLoopImpl::DoRun() + 40
7   Flutter                                0x106b67cc4 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
8   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
9   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 11:: io.worker.1
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 12:: io.worker.2
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 13:: io.worker.3
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 14:: io.worker.4
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 15:: io.worker.5
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 16:: io.worker.6
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 17:: io.worker.7
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 18:: io.worker.8
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 19:: io.worker.9
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 20:: io.worker.10
0   libsystem_kernel.dylib                 0x1c9978694 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x1c99d0c88 _pthread_cond_wait + 1224
2   Flutter                                0x106896f00 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 24
3   Flutter                                0x106b5f688 fml::ConcurrentMessageLoop::WorkerMain() + 156
4   Flutter                                0x106b5fdf0 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 188
5   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
6   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8

Thread 21:: dart:io EventHandler
0   libsystem_kernel.dylib                 0x1c997add8 kevent + 8
1   Flutter                                0x106d73144 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 332
2   Flutter                                0x106d918e8 dart::bin::ThreadStart(void*) + 44
3   libsystem_pthread.dylib                0x1c99d06c8 _pthread_start + 116
4   libsystem_pthread.dylib                0x1c99cb910 thread_start + 8
}

flutter doctor -v

[!] Flutter (Channel stable, 3.7.0, on macOS 12.4 21F79 darwin-arm64, locale en-DE)
    • Flutter version 3.7.0 on channel stable at /Users/myuser/flutter
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.16.1/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
      /Users/myuser/flutter. Consider adding /Users/myuser/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (3 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/myuser/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/myuser/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Users/myuser/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Users/myuser/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.6777.52/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • iPhone 8 (mobile) • 89488209-B791-4B33-872D-C6620B375B95 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)   • macos                                • darwin-arm64   • macOS 12.4 21F79 darwin-arm64
    • Chrome (web)      • chrome                               • web-javascript • Google Chrome 109.0.5414.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Info.plist (iOS)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>$(DEVELOPMENT_LANGUAGE)</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIdentifier</key>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>$(BUNDLE_DISPLAY_NAME)</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>$(FLUTTER_BUILD_NAME)</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb$(FACEBOOK_APP_ID)</string>
            </array>
        </dict>
    </array>
    <key>CFBundleVersion</key>
    <string>$(FLUTTER_BUILD_NUMBER)</string>
    <key>FacebookAppID</key>
    <string>$(FACEBOOK_APP_ID)</string>
    <key>FacebookDisplayName</key>
    <string>www.blabla.al</string>
    <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>fbapi</string>
        <string>fbapi20130214</string>
        <string>fbapi20130410</string>
        <string>fbapi20130702</string>
        <string>fbapi20131010</string>
        <string>fbapi20131219</string>
        <string>fbapi20140410</string>
        <string>fbapi20140116</string>
        <string>fbapi20150313</string>
        <string>fbapi20150629</string>
        <string>fbapi20160328</string>
        <string>fbauth</string>
        <string>fb-messenger-share-api</string>
        <string>fbauth2</string>
        <string>fbshareextension</string>
        <string>itms</string>
    </array>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>NSCameraUsageDescription</key>
    <string>This app requires camera access to allow the user to take and upload photos</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Allow location to search people nearby</string>
    <key>NSLocationAlwaysUsageDescription</key>
    <string>Allow location to search people nearby</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>This app requires access to the photo library for letting the user upload the ones they select</string>
    <key>UIBackgroundModes</key>
    <array>
        <string>fetch</string>
        <string>remote-notification</string>
    </array>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UIViewControllerBasedStatusBarAppearance</key>
    <false/>
    <key>io.flutter.embedded_views_preview</key>
    <true/>
    <key>CADisableMinimumFrameDurationOnPhone</key>
    <true/>
    <key>UIApplicationSupportsIndirectInputEvents</key>
    <true/>
</dict>
</plist>

Podfile (iOS)

# Uncomment this line to define a global platform for your project
platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

AndroidManifest.xml

No response

MainActivity.java

No response

MainActivity.kt

No response

index.html

No response

Info.plist (macOS)

No response

darwin-morocho commented 1 year ago

@kristijorgji in your Info.plist you must add your client token.

For more info check https://facebook.meedu.app/docs/5.x.x/ios

kristijorgji commented 1 year ago

Thanks so much. I just updated the library version and was not aware that this new token was requested. I added it and the app run fine now. Not sure why this extra token is needed thot.