Skip to content

Template for hybrid development using OpenUI5 in mobile devices.

License

Notifications You must be signed in to change notification settings

ivanlynch/cordova-openui5-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

Short

I want to make this repo as an alternative to build mobile applications with OpenUI5

Long

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 😏 😏 .

Cordova

OpenUI5

Change Log 📜📝

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.

🚀[1.0.1] - 2020-11-29

Changed

  • In the gulpfile right now is downloading the latest version of the mobile-runtime (Is a little bit faster)

Prerequisites 🔧🔧

  • Nodejs
    • Installation instructions can be found Here
  • Cordova
    npm install -g cordova
  • Gulp
    npm install --global gulp-cli

🐑 Clone & Install 🐑

Open your terminal and execute:

Degit

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

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

Platforms 📱📟

Adding needed platforms

Open your terminal in the root of the project

cordova platform add android
cordova platform add ios

Running Android

cordova run android

Running IOS

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

TODOS 📔

  • 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

About

Template for hybrid development using OpenUI5 in mobile devices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published