tunapanda / funzo-app

Cordova app running ember and h5p
2 stars 3 forks source link

Location restriction #33

Closed Jakeii closed 6 years ago

Jakeii commented 8 years ago

we need to access the devices GPS/IP address and restrict features using location.

  • If the IP address shows a US/Canada location, then the student must enter a unique code proving they are "in an educational setting" ­ that code determines the length of time the student will be able to access the eBook.
  • If the IP address shows a non­US/Canada location, then the learner can download the eBook which is "charged" (the equivalent of "borrowed from the library" in the US context) for a certain period of time.
usernamenumber commented 8 years ago

Cordova has a geolocation plugin that can get the device's latitude and longitude.

Still needed: