Coder Social home page Coder Social logo

Comments (7)

daniellacosse avatar daniellacosse commented on July 28, 2024

I think you can set something up where you send the info you need over IPC. https://github.com/Jigsaw-Code/outline-client/blob/6356371797cf882a9472f8be4aa9f8c7bbfb3d21/src/www/app/cordova_main.ts#L52-L53

from outline-client.

suki-neithnet avatar suki-neithnet commented on July 28, 2024

Sorry but I have no idea how to do with these, could you please show me a simple sample if could? Thank you very much.
I need to read localstorage data in OutlineAppleLib/Sources/OutlineTunnel/OutlineVpn.swift or OutlineAppleLib/Sources/OutlineTunnel/OutlineTunnel.swift

from outline-client.

daniellacosse avatar daniellacosse commented on July 28, 2024

What's your goal?

from outline-client.

suki-neithnet avatar suki-neithnet commented on July 28, 2024

What's your goal?

I need to get different settings info by user while setup vpn every time before connect.

from outline-client.

daniellacosse avatar daniellacosse commented on July 28, 2024

What's your goal?

I need to get different settings info by user while setup vpn every time before connect.

But what are the settings for? Can you not do it in the web view?

from outline-client.

suki-neithnet avatar suki-neithnet commented on July 28, 2024

What's your goal?

I need to get different settings info by user while setup vpn every time before connect.

But what are the settings for? Can you not do it in the web view?

Well, I want to set includedRoutes and excludedRoutes or dnsSettings for different users, so I think maybe I could only get the info dynamically and set it up while every time we setup vpn.

from outline-client.

daniellacosse avatar daniellacosse commented on July 28, 2024

What's your goal?

I need to get different settings info by user while setup vpn every time before connect.

But what are the settings for? Can you not do it in the web view?

Well, I want to set includedRoutes and excludedRoutes or dnsSettings for different users, so I think maybe I could only get the info dynamically and set it up while every time we setup vpn.

You might be able to do this through the dynamic key maybe? https://www.reddit.com/r/outlinevpn/wiki/index/dynamic_access_keys/

Then you'll need to write a plugin (or extend the existing one): https://cordova.apache.org/docs/en/11.x/guide/platforms/ios/plugin.html

from outline-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.