GithubHelp home page GithubHelp logo

Comments (8)

erkanyildiz avatar erkanyildiz commented on September 29, 2024

WatchKit v1 is not supported anymore.

And for Today Extension I will check and update the code.
For now, you can check if TARGET_IS_EXTENSION (or whatever you add to your Today Extension target's build settings) and return NO directly.

Thank you.

from countly-sdk-ios.

ddaddy avatar ddaddy commented on September 29, 2024

Thanks.
FYI, after fixing that, there's many more errors for an extension.
eg. UIAlertView initWithTitle not available in Countly.m
sharedApplication openURL

from countly-sdk-ios.

erkanyildiz avatar erkanyildiz commented on September 29, 2024

I know, they are related to Push Notifications. Update for Push Notifications is in progress. When it is finished, this will be fixed too.

from countly-sdk-ios.

jboehle avatar jboehle commented on September 29, 2024

When are these fixes for using Countly in an extension going to be made available?

from countly-sdk-ios.

jboehle avatar jboehle commented on September 29, 2024

Using TARGET_IS_EXTENSION will not work if Countly is being compiled into a shared library/framework with APPLICATION_EXTENSION_API_ONLY turned on. For that it looks like the best solution is for Countly to use a preprocessor define, say COUNTLY_EXTENSION_API_ONLY, or something along those lines, that can be added to the preprocessor defines for the project that has both Countly and APPLICATION_EXTENSION_API_ONLY=YES.

from countly-sdk-ios.

jboehle avatar jboehle commented on September 29, 2024

Looked into it a little more. Sorry for my confusing comment above. I thought TARGET_IS_EXTENSION was something Xcode was providing automatically for Extension targets. It looks like instead, it's just a custom preprocessor define added to a project. So, I would still suggest using a define named specific to Countly. Instead of something generic like TARGET_IS_EXTENSION, maybe COUNTLY_IS_EXTENSION?

from countly-sdk-ios.

erkanyildiz avatar erkanyildiz commented on September 29, 2024

For now, we do not support Today Extensions.
As soon as we find some more time, we will add support for Today Extensions.

We already have this enhancement on our backlog.
So closing this, as no need to keep it as an issue here.

from countly-sdk-ios.

VictorSharov avatar VictorSharov commented on September 29, 2024

I will wait this ability too, thanks

from countly-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.