GithubHelp home page GithubHelp logo

rosen-vladimirov / electron-quick-start Goto Github PK

View Code? Open in Web Editor NEW

This project forked from electron/electron-quick-start

0.0 1.0 0.0 446 KB

Clone to try a simple Electron app

Home Page: https://electronjs.org/docs/tutorial/quick-start/

License: Creative Commons Zero v1.0 Universal

HTML 35.61% JavaScript 64.39%

electron-quick-start's Introduction

electron-quick-start

Demonstrates an issue with session length when using Clevertap in Electron app

This project demonstrates an issue with session length when using Clevertap analytics in Electron application.

Setup

  1. Clone the repo:
git clone [email protected]:rosen-vladimirov/electron-quick-start.git
  1. In the cloned dir, find the index.html file and set your Clevertap ID in the placeholder <ID HERE>.
  2. In the root directory run npm install
  3. You can test if everything works as expected by running npm run start - this will open a simple Electron app, that will try to send four events to Clevertap. You'll also see the DevTools are opened and in session storage the WZRK_D variable is set.
  4. Now you have to build the application:
npm run dist
  1. The above command will produce a dist folder, which will contain several files. Double-click the electron-quick-start-1.0.0.dmg file. This will start the installation of the app.
  2. Once finished, open your Applications directory and locate the electron-quick-start application. Right-click it and select Open. First time it will not allow you to run the app, as the app is not notarized, but use right-click-> open again and the app will start.
  3. The application writes all of the DevTools logs in the electronDevToolsLogs.log file in the user's home directory: ~/electronDevToolsLogs.log.
  4. Close the app and check the logs.
  5. Now start the app again - as there are no 20 mins between the sessions, it is expected to have the same session, but instead a new session is started (you can verify this both in the DevTools and the mentioned log file).

electron-quick-start's People

Contributors

bokuweb avatar bratsos avatar chankruze avatar ckerr avatar codebytere avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar fscherwi avatar haacked avatar icodeforbananas avatar icoxfog417 avatar izuzak avatar jlord avatar kevinsawicki avatar louis993546 avatar malept avatar marshallofsound avatar nornagon avatar richienb avatar rosen-vladimirov avatar sahildua2305 avatar sebastianschmidt avatar shiftkey avatar steevedroz avatar tatzyr avatar tcyrus avatar vhashimotoo avatar zanesterling avatar zeke avatar

Watchers

 avatar

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.