Telefonica / webview-bridge

Novum JavaScript Bridge
MIT License
26 stars 7 forks source link

Adding getEsimInfo bridge call #46

Closed gmerinojimenez closed 3 years ago

gmerinojimenez commented 3 years ago

Adding getEsimInfo bridge call:

Method that will receive a boolean that is true if the device supports esim

Request → {type: “GET_ESIM_INFO”, id: string} 

Response → {type: “GET_ESIM_INFO”, id: string, payload: {supportsEsim: boolean}} 
atabel commented 3 years ago

Adding getEsimInfo bridge call:

Method that will receive a boolean that is true if the device supports esim

Request → {type: “GET_ESIM_INFO”, id: string, payload: { 
hash: string 
}} 

Response → {type: “GET_ESIM_INFO”, id: string, payload: {supportsEsim: boolean}} 

what's that hash in the request? I don't see it in the implementation

gmerinojimenez commented 3 years ago

Adding getEsimInfo bridge call: Method that will receive a boolean that is true if the device supports esim

Request → {type: “GET_ESIM_INFO”, id: string, payload: { 
hash: string 
}} 

Response → {type: “GET_ESIM_INFO”, id: string, payload: {supportsEsim: boolean}} 

what's that hash in the request? I don't see it in the implementation

Sorry, it's unneeded, updated