Skip to content

Instantly share code, notes, and snippets.

@Luke-SNAW
Created April 28, 2021 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luke-SNAW/83f166adb99366a56c0df688fe31bef9 to your computer and use it in GitHub Desktop.
Save Luke-SNAW/83f166adb99366a56c0df688fe31bef9 to your computer and use it in GitHub Desktop.
[⭐️ referrer from wkwebview on google map API] #cordova #google

API 및 서비스> 사용자 인증 정보> API 키

HTTP 리퍼러(웹사이트)로 제한둘 때,

<preference name="scheme" value="app" />
<preference name="hostname" value="hostname" />

로 설정한 app://hostname이 안먹힘.

googling하다가 *://localhost/*로 성공. 앞의 protocol은 file, http 등을 시도해 봤는데 모두 실패

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment