SMP Kapsel app upgrade from SDK 9 to SP12

Source: Internet
Author: User
Tags i18n

Upgrade changes:
1 main.html sapui5 content Direct reference to logon plugin inside
2 Resources\mobile directory moved.
Backup\plugins\kapsel-plugin-logon\www\common\assets\ui\resources
3 Copy \backup\plugins\kapsel-plugin-logon\www\common\assets\ui\logonform.js
Copy Backup\plugins\kapsel-plugin-logon\www\common\modules\staticscreens.js

=========================
Installing node node-v

Installing Cordova
NPM Uninstall Cordova-g
NPM install-g cordova@6.0.0
NPM Info Cordova
Cordova-v 6.0.0

Uninstall old version of Cordova plugins
Cordova Plugins
Cordova-plugin-device 1.1.5 "Device"
Cordova-plugin-whitelist 1.3.2 "Whitelist"
Kapsel-plugin-authproxy 3.12.0 "Authproxy"
Kapsel-plugin-corelibs 3.12.0 "Corelibs"
kapsel-plugin-i18n 3.12.0 "i18n"
Kapsel-plugin-inappbrowser 1.3.1 "Inappbrowser"
Kapsel-plugin-logon 3.12.0 "Logon"

Cordova Plugin Remove Kapsel-plugin-logon
Cordova Plugin Remove Kapsel-plugin-authproxy
Cordova Plugin Remove Kapsel-plugin-inappbrowser
Cordova Plugin Remove Kapsel-plugin-corelibs
Cordova Plugin Remove kapsel-plugin-i18n
Cordova Plugin Remove Cordova-plugin-whitelist
Cordova Plugin Remove Cordova-plugin-device

Cordova Platform Remove Android
Cordova Platform Remove iOS Cordova plugins

Actions on Windows
Set KAPSEL_HOME=D:\SAP\MOBILESDK3\KAPSELSDK
Cordova plugin add Kapsel-plugin-logon–searchpath% kapsel_home%\plugins-d
Cordova Plugin add Kapsel-plugin-authproxy–searchpath%kapsel_home%\plugins-d
Cordova Plugin add Kapsel-plugin-inappbrowser–searchpath%kapsel_home%\plugins-d
Cordova Plugin Add kapsel-plugin-corelib S–searchpath%kapsel_home%\plugins-d
Cordova plugin add Kapsel-plugin-i18n–searchpath%kapsel_home%\plugins-d
Cordova plugin Add Cordova-plugin-whitelist–searchpath%kapsel_home%\plugins-d
Cordova Plugin Add cordova-plugin- Device–searchpath%kapsel_home%\plugins-d

Action on iOS
Export KAPSEL_HOME=~/DESKTOP/MOBILESDK3/KAPSELSDK
Cordova Plugin Add Kapsel-plugin-logon–searchpath kapselhome/plugins−dcordovapluginaddkapsel−plugin−authproxy– SearchPath kapsel_home/plugins-d Cordova Plugin Add Kapsel-plugin-authproxy–searchpath kapsel_home/plugins-d
Cordova Plugin Add Kapsel-plugin-inappbrowser–searchpath kapselhome/ Plugins−dcordovapluginaddkapsel−plugin−corelibs–searchpath kapsel_home/plugins-d Cordova Plugin Add Kapsel-plugin-corelibs–searchpath kapsel_home/plugins-d
Cordova Plugin Add Kapsel-plugin-i18n–searchpath kapselhome/plugins−dcordovapluginaddcordova−plugin−whitelist– SearchPath kapsel_home/plugins-d Cordova Plugin Add Cordova-plugin-whitelist–searchpath kapsel_home/plugins-d
Cordova Plugin Add Cordova-plugin-device–searchpath $KAPSEL _home/plugins-d

Cordova Plugins

=========================== files under the copy backup directory

Cordova Platform Add android-d call "Build and Install.bat"

Modify the project name in the CONFIG. spiis file to English

Cordova Platform Add ios-d

Xcode opens the Platform\ios\ project file and modifies the app to display the Chinese XXXX

Cordova Run Ios–emulator

Xcode finds build Settings->linking->other Linker flags, modifies this property to "-all_load" and "-obj-c"-for the other Linker the flags VA Lue

Bitcode-no

https://blogs.sap.com/2015/07/17/getting-started-with-kapsel-part-2-logon-sp09/

Cordo
VA Build Ios–device–release

===========================
Cordova 5.1.1 should be used if using SMP 3.0 SP09 SDK.
Cordova 5.1.1 should be used if using SMP 3.0 SP10 SDK.
Cordova 5.4.1 should be used if using SMP 3.0 SP11 SDK.
Cordova 6.0.0 should be used if using SMP 3.0 SP12 SDK.
Cordova 6.1.1 should be used if using SMP 3.0 SP13 SDK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.