Port of the Eterna puzzle progression for Android and iOS.
Interested in development? Join the discussion on the Eterna Discord!
git submodule init
followed by git submodule update
)./eternajs/.env.local
and set MOBILE_APP=true
and DEBUG=false
(you may also want to change APP_SERVER_URL
and ENGINE_LOCATION
)npm install
(which automatically installs eternajs dependencies and sets up our initial www folder as well)npx cordova prepare
, which will:
www
and then build EternaJS and this app into www
If you want to build for a specific platform you'll also need to install their respective prerequisites:
To quickly test the app, run npx cordova run <platform>
This will do the following:
cordova prepare
, as abovecordova compile
, which actually builds native code for the relevant platformnpx cordova run browser
is probably a good starting point, which will build the app for the browser, spin up
a local web server, and open your browser to it.
For more information, see the Cordova CI documentation
./.env.local
with APP_SERVER_URL=https://eternagame.org
and INJECT_COOKIE_DOMAIN=.eternagame.org
./eternajs/.env.local
with APP_SERVER_URL=https://eternagame.org
, MOBILE_APP=true
, DEBUG=false
, and ENGINE_LOCATION
set correctlynpx cordova build --release
(which will run cordova prepare
and cordova compile
)