Attendance app requirements

Hello,

I want to create an attendance app where

  1. Users need to capture selfie only
  2. Users cannot open galleries
  3. There is a local time zone included when he took the photo
  4. Only proximity of 1 m to the office is allowed to take selfie

Can it be done in appgyver?

Yes, that all seems quite achievable in Appgyver. I´m doing proximity checks and saving selfies in my app, so timezone is the only bit I don´t know for sure.

1 Like

Thanks Phil. Will learn at my best!

Btw Phil, which module allows you to check out the proximity?

There isn´t one, I added a formula, as below. page vars are the current location, the app vars are the reference position I am measuring the distance back to.

IF(IS_UNDEFINED(pageVars.Current_lat),0.2,SQRT(POWER(((pageVars.Current_lon-appVars.varClueLon)*COS(pageVars.Current_lat)),2)+POWER((pageVars.Current_lat-appVars.varClueLat),2))*110.25)

The rest of the logic is below.

3 Likes