Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 140 forks source link

Is not support Today Extension? #339

Closed topkim993 closed 2 years ago

topkim993 commented 2 years ago

What problem are you facing?

Hello. We are using a custom event log in our main app.

This time, we are going to add custom event log in Today Extension (Old widget).

After adding Cocoa Pod dependency to Today Extension, the following error occurs when building.

'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.

Is there any way to solve it?

Thanks for reading.

Workarounds

Not resolved yet

Ideal Solution

No response

Other Information

No response

Bucimis commented 2 years ago

@topkim993 Hi, are you attempting to use the Braze SDK inside of an App Extension? The Braze SDK doesn't support running inside of an App Extension.

topkim993 commented 2 years ago

@Bucimis Yes, Thank you. I will close the issue