Hi.
Is it possible to do an API call before I actually display a scheduled local push notification? Because I have to do a "status check" on the server if I should still display the local push notification or not.
Unfortunately, we can't send the push from server because of certain decisions made.
Thank you!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi. I encountered the following crash only after installing the pod PusherSwift.
On application launch, getting a crash with the following crash logs:
dyld: Symbol not found: _OBJC_CLASS_$_Reachability
Referenced from: /Users/abc/Library/Developer/CoreSimulator/Devices/387D652C-CB80-4739-88B1-DD04ACAFA8D6/data/Containers/Bundle/Application/D9CEB1B3-9B9D-42E8-AFB6-8BCA056DDE1C/LalaFood-User.app/Frameworks/ChatSDK.framework/ChatSDK
Expected in: /Users/abc/Library/Developer/CoreSimulator/Devices/387D652C-CB80-4739-88B1-DD04ACAFA8D6/data/Containers/Bundle/Application/D9CEB1B3-9B9D-42E8-AFB6-8BCA056DDE1C/LalaFood-User.app/Frameworks/Reachability.framework/Reachability
in /Users/abc/Library/Developer/CoreSimulator/Devices/387D652C-CB80-4739-88B1-DD04ACAFA8D6/data/Containers/Bundle/Application/D9CEB1B3-9B9D-42E8-AFB6-8BCA056DDE1C/LalaFood-User.app/Frameworks/ChatSDK.framework/ChatSDK
I have the following file - https://github.com/ashleymills/Reachability.swift/blob/master/Sources/Reachability.swift copied directly to my project. As I checked PusherSwift.podspec - https://github.com/pusher/pusher-websocket-swift/blob/master/PusherSwift.podspec, it has ReachabilitySwift as a dependency. So, I'm guessing that's where the problem came from. I tried deleting the Reachability file - https://github.com/ashleymills/Reachability.swift/blob/master/Sources/Reachability.swift that was directly copied on my project, but after running, the crash is still there.
Is there something I have to import like the header file or something to add? I keep seeing to add the framework on Frameworks, Libraries, and Embedded Content. I tried to add Reachability.framework there, but it did not work.
Hoping someone could help.
Thank you!