Comments (3)
To resolve this, do not add [self queryEssentials] to the queue, but add it right before sending the request over. This will also reduce your file storage size as this data is constantly being duplicated.
from countly-sdk-ios.
I would not say that scenario is not so bad.
Because when you update an app and change app_key to new one, you expect new data after update to be sent to new app, and that is exactly what is happening. Because queued requests with old app key would be old requests before update, and only new ones will be with new app_key.
And properly configured production Countly server will still respond with success even if the app does not exist, so these requests won't pile up (aka Safer API responses disabled)
But another point is that we need to store queryEssentials with queued requests for many other reasons. Like when switching deviceId when multiple different users use the app, etc, we need to ensure that queries are executed with the data the events occurred. And not tampered afterwards.
Our whole structure depends on that :)
from countly-sdk-ios.
Fair point about device id. Then, perhaps take out app_key from query
essentials and treat it just like host?
On Thu, Apr 28, 2016 at 3:04 AM Arturs Sosins [email protected]
wrote:
I would not say that scenario is not so bad.
Because when you update an app and change app_key to new one, you expect
new data after update to be sent to new app, and that is exactly what is
happening. Because queued requests with old app key would be old requests
before update, and only new ones will be with new app_key.And properly configured production Countly server will still respond with
success even if the app does not exist, so these requests won't pile up
(aka Safer API responses disabled)But another point is that we need to store queryEssentials with queued
requests for many other reasons. Like when switching deviceId when multiple
different users use the app, etc, we need to ensure that queries are
executed with the data the events occurred. And not tampered afterwards.Our whole structure depends on that :)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#80 (comment)
from countly-sdk-ios.
Related Issues (20)
- Removing view tracking consent does not stop timer of last tracked view HOT 2
- 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
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.