We are trying to develop a Share Extension for our app that will allow users to send images, videos and URLs from their device via share sheet in other apps.
Same like how you can share photos from your photo library to WhatsApp, Messenger, Telegram, etc.
I have a few questions regarding this:
Is it possible to make CometChat share it’s container so that I can access and get the value of the currently logged in CometChat user in the host app? If I call the
getLoggedInUser, it returns nil even though the users is loggedIn in the host app.
Is it possible to use the REST API in iOS instead of the SDK as an alternative?
Is there any difference between sending a message via SDK vs sending a message via REST API? I believe the latter does not require any authentication from the user as long as you pass the API Key and app ID?