I
I
Ilya2020-05-01 01:00:26
JavaScript
Ilya, 2020-05-01 01:00:26

How to solve problem with getting location in Electron.js?

I am trying to open a link inside an app:

const win = new BrowserWindow({
    width: 400,
    height: 600,
    webPreferences: {
      nodeIntegration: true,
      webSecurity: true,
      sandbox: true,
      enableRemoteModule: false,
      nodeIntegrationInWorker: true,
      nativeWindowOpen: true,
    },
  });    
win.loadURL('https://tinder.com/app/recs')


But the site does not ask for permission to get the location.
How can I submit my location to the site?

5eab4a6ddae62443746198.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question