I want to make this repo as an alternative to build mobile applications with OpenUI5
The first motivation to create this repo is because HAT is out of maintenance since this post but in the moment that they announced this post the SAP Web Ide was working right now the only chose is the SAP Business application studio and it does not comes anymore with HAT 😌.
In the meantime the OpenUI5 team are releasing web components to develop react/vue/angular based applications. I think they are going through the right way and hopefully in an closer future they start any react-native based project 😏 😏 .
All changes to the cordova-openui5-template will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- In the gulpfile right now is downloading the latest version of the mobile-runtime (Is a little bit faster)
- Nodejs
-
- Installation instructions can be found Here
- Cordova
npm install -g cordova
- Gulp
npm install --global gulp-cli
Open your terminal and execute:
npx degit ivanlynch/cordova-openui5-template#main folder-name
this should download a copy of the repo in the defined folder then go to directory and install the dependencies like this:
cd folder-name && npm i
after installation of dependencies you need to execute:
gulp
Note: Right now the tasks defined in Gulpfile only download the latest mobile-runtime version in the meantime you can edit the gulpfile to fit your needs
git clone https://github.com/ivanlynch/cordova-openui5-template.git
then cd into the repo folder
cd cordova-openui5-template && npm i
after installation of dependencies you need to execute:
gulp
Note: Right now the tasks defined in Gulpfile only download the latest mobile-runtime version in the meantime you can edit the gulpfile to fit your needs
Open your terminal in the root of the project
cordova platform add android
cordova platform add ios
cordova run android
Note: in IOS you need to do add some lines of code in the /platforms/ios/HelloCordova/config.xml because a known [issue](Handling XMLHttpRequests (XHR)
you need to add at the end of the file:
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />
cordova run ios
- Add any functionality to change the package name of the projects
- Add any way to setup the openui5 version because currently is using the latest version tag