1. muhammad sarfaraz
  2. PowerServer
  3. Tuesday, 8 June 2021 11:45 AM UTC

Dear ,

               We are created mobile application when user will login and attempt our first shop then we insert the time in database and mark there attendance. But user reach to market at 11 a.m and change there mobile time to 9.am and visit first shop then time is insert 9 am but actual time is 11 am. so ho to stop for fake time in mobile application for online and offline. When we request this on support then they routed to us to discuss on community and have the solution with web service. If you have any example to web service app to stop fake time please help. Or help to check that whether user is changed his time force to use network auto time not manual time

Regards,

Sarfaraz

 

Sivaprakash BKR Accepted Answer Pending Moderation
  1. Wednesday, 9 June 2021 12:02 PM UTC
  2. PowerServer
  3. # 1

Muhammad,

Will the data gets transferred to online database at any point ?  Then how the data gets transferred to online db ?  How you deal with data that got transferred when mobile was online and data to be transferred that's entered while mobile was off line ?

Can you use the datatime, when the data is inserted in online db, instead of datatime when it's inserted into mobile db?

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 8 June 2021 12:23 PM UTC
  2. PowerServer
  3. # 2

Use the datetime from the database server. Your database should have a 'getdate' function.

Comment
  1. Miguel Leeuwe
  2. Wednesday, 9 June 2021 07:34 AM UTC
Hi Muhammad,

There's no "magic" if the user is offline, then he / she is offline. So you probably cannot do anything in that case since no web service would work meanwhile.

Maybe it would help if you explain why the time is so important and some bright mind could help you out with a different solution for when the user comes online again.

regards
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 9 June 2021 07:38 AM UTC
Maybe the simplest solution is to not allow users to do anything offline.
  1. Helpful
  1. muhammad sarfaraz
  2. Wednesday, 9 June 2021 13:29 PM UTC
Dear ,

we are using online and offline application for our users . These two app are different. One order booking app for order bookers. Users will first sync the data from server on daily basis. After sync he will visit the shops for order. when booker will visit the shop then his time in is started and we mark the attendance. As i already defined the scenario for on top. Date and time is pick from mobile so he can manually change the time and his visit time fake time. if we restrict the user to always use auto update time option in mobile. If he use manual then application will force to change the from manual to auto. So it's easy restrict for fake time. Or if you provide any sample application or sample web service how to trace fake time.

Regards,

Sarfaraz

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.