Comments (8)
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.
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.
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.
When are these fixes for using Countly in an extension going to be made available?
from countly-sdk-ios.
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.
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.
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.
I will wait this ability too, thanks
from countly-sdk-ios.
Related Issues (20)
- Support numbers and boolean value types for custom user profile data HOT 3
- iOS Deployment Target HOT 3
- No crashes being reported HOT 1
- Fails to build on Xcode 13 beta 3 due to unguarded use of UIApplication. HOT 1
- CountlyFeedbackWidget getData not available HOT 8
- Not able to update Countly 20.11.1 to newer version via cocoapods HOT 2
- Background task that isn't ended HOT 1
- Regression causes crash when logging out current user HOT 2
- Installation method: XCFramework HOT 2
- '-[OS_xpc_dictionary path]: unrecognized selector sent to instance HOT 1
- Version 22.06.2 not available on Cocoapods HOT 2
- macOS versions not properly reported HOT 1
- Session is not increased when calling endSession() and then beginSession() HOT 2
- Crash when Remote Config value is null HOT 1
- macOS build errors HOT 3
- Build error: 'CountlyRCData.h' file not found in version 23.6.0 HOT 5
- After Updating to Release 23.8.0: `'CountlyViewTracking.h' file not found` HOT 1
- Which branch is the default one? HOT 1
- Events appear very delayed in Countly dashboard HOT 3
- Can't use PLCrashReporter HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from countly-sdk-ios.