storeconnect-timesync-server's People
storeconnect-timesync-server's Issues
Docker support
Hi,
Could you please add a Docker support (image + composition) to easily start the server side? This way, you will be compliant with StoreConnect servers' common configuration.
For more information on how to organize your Docker files, you can follow this example: https://github.com/StoreConnect/storeconnect-sensors-api-server/tree/master/docker.
Thanks,
Aurélien
Issue with offset if client date is greater than server
Hello,
I'm using the Android wrapper for a test app.
It seems that there is an issue in the set_target method in server_date.cpp. If my smartphone date is earlier than the server the offset is correctly computed, but if it is greater the offset always stays at 0.
I think the delta should be in absolute value when comparing it to amortization_threshold.
Android wrapper crashing on 32bits devices
Hello,
I hit trouble while working with the android wrapper on armeabi/armeabi-v7a devices.
Works perfectly fine on arm64 devices, but on 32bits devices it crashes in server_date.cpp:98 at :
long long server_date = std::stol(server_date_s);
I have the following error in Android studio :
A/libc: /Volumes/Android/buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type std::out_of_range: stol: out of range" failed
I've replaced it with std::stoll
and it seems to work, so the issue might be with std::stol
messing around with 32bit long limit.
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.