Signed in via Huawei ID played 40 min game in trial mode, switched to another Huawei ID, remaining trial period was displaying 60. Is this problem? - huawei-mobile-services

I have captured all logs and searched for the keyword HwJos. The logs related to the problem were as follows:
1.Logs generated after the player had played for 40 minutes shows that the remaining period is 20 minutes.
2.Logs generated after the player switched to another HUAWEI ID shows the remaining period is 60 minutes.

This is a normal phenomenon.
If a player signs in to a game using a HUAWEI ID that has not been used on a device before, the device ID cannot be obtained because the HUAWEI ID has not been authorized for sign-in. As a result, the remaining trial period cannot be obtained. In this case, Huawei will consider that the remaining trial duration is 60 minutes by default.
After the HUAWEI ID is authorized to sign in to the game, Huawei can obtain the device ID and the player can play a trial. The Huawei SDK client queries the remaining trial period every 5 minutes after the trial starts, and the game trial period is obtained based on the device information. If the trial period is 20 minutes (1 hour in total), the identity verification pop-up will be displayed.

Related

How do I get the number of hours in a period via API for Project Online

I am trying to pull the number of hours in a period, per the calendar and not the actual time logged in the timesheet.
I have not been able to find it in any of the api endpoints. For a week that has a single holiday, per the enterprise calendar, I would expect to see 32 hours. For weeks that don't have holidays, I would expect to see 40.

Rewarding user for completing a task

I am working on a new project where a user needs complete some given tasks for example lets consider the user needs to watch 10 rewarding video ads for getting rewarded back with $1
Which goes to his paypal wallet
So everytime he/she watches 10 videos he will be rewarded with a dollar how can i add this feature to my flutter app?
So what i have done is use a counter to count how many videos have been watched. After every video increase the count value and when it reaches 10 you call a function that sends 1 dollar to the user's account. After that, I reseted the counter value to 0. So my main problem is how can i send that 1$ to that user so that he can redeem to his wallet
What you can do is use a counter to count how many videos have been watched. After every video increase the count value and when it reaches 10 you call a function that sends 1 dollar to the user's account. After that, you reset the counter to 0.

How to get average session duration for a specific user in flurry

I am using flurry analytics in my unity game .
In flurry, we are getting average session duration for a specific date or date range. We want to get session duration for all users individually. i.e. assume 10 users played our game today and total no of session is 25. I like to get session duration for all 25 sessions separately along with user id. is this possible? If yes, can you please share some pointers.
It is not possible to get individual session times for each user through Flurry. Flurry session data is geared towards aggregating the session length, to give you an overall idea of how long users are spending in the app, not to drill down to specific user times. The closest metric to what you are describing is The session length distribution chart on the Usage>Session Length page, which distributes the sessions into buckets based on length, so you can see how many sessions of a given range occurred.

Soundcloud limit access api

I am building an app about joke telling using soundcloud api. So does soundcloud limit 15000 applied in 24 hour means all my app in in every device can applied for 15000 or one app in individual device?
Form Sound cloud developers portal
Effective July 1, all requests that result in access to a playable
stream are subject to a limit of 15,000 requests per any 24-hour time
window. Currently, this is inclusive of all requests that are made to
/tracks/:id/stream.
After a previous time window has expired, a new time window starts
from the first request made.
The majority of SoundCloud API rate limits are in the form of 24-hour
time windows.
For more details visit
https://developers.soundcloud.com/docs/api/rate-limits

iTunes Promo codes and app updates

If a user has installed my app by redeeming a promo code and we're inside the 4 week window and I push an update to the app, will they receive the update to the app and be able to update it?
I guess more directly: If I can have 50 promo code installs per update and I do 2 releases in the 4 week time period do I wind up with 100 total promo code users (50 for each release) that are active for 2 weeks of overlap, or do the first 50 users apps stop working when the new update is 'ready for sale'.
The promo codes are valid for four weeks. An app purchased using one is the same as a normally purchased app. So, yes, they would get your updates within and after that four week period.
Here is an iTunesConnect response. I requested some Promo Codes and the download option never appeared, I asked iTunesConnect to send them to me again, but the response took so long I was ready for an upgrade. Their reply suggests that once I upgrade my app, the previous promo codes will no longer work. I don't want to send out promo codes that don't work, that would be a bad start for a reviewer.
iTunesConnect Response
"I see that recently you began to prepare to upload a new version of your binary, with version 1.1 now in the Waiting for Upload status. With every version of your app you receive 50 promo codes. Therefor with this new app version, your promo codes reset. In your email you requested that we return the promo codes to you that you requested and never received, however these promo codes were for the old version and once the new one goes live will cease to work."