Build E-Wallet

Environment

  • MacOS Mojave
  • NodeJS
    • 13.0
  • NPM
    • 4.1
  • Ionic
    • Framework 4.0.0
    • CLI 4.10.3
  • IDE
    • Xcode 10.1

$ ionic info


Ionic:

   ionic (Ionic CLI)             : 4.10.3 (/Users/jyun/.nvm/versions/node/v10.13.0/lib/node_modules/ionic)

   Ionic Framework               : @ionic/angular 4.0.0

   @angular-devkit/build-angular : 0.12.4

   @angular-devkit/schematics    : 7.2.4

   @angular/cli                  : 7.2.4

   @ionic/angular-toolkit        : 1.4.0


Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)

   Cordova Platforms     : android 7.1.4, browser 5.0.4, ios 4.5.5

   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 17 other plugins)


System:

   ios-deploy : 1.9.4

   NodeJS     : v10.13.0 (/Users/jyun/.nvm/versions/node/v10.13.0/bin/node)

   npm        : 6.4.1

   OS         : macOS Mojave

E-Wallet Build Environment Setting

Overview

The e-wallet GIT source has removed the necessary authentication, facebook, twitter and google config settings for the app. If you do not take any action due to setting conflicts of Ionic Plugins, a build error occurs when creating the Android / iOS Platform environment.

Build environment should be set up using a separate script which is designed to automatically remove Android, iOS related conflicts and build conflicts.

E-Wallet Project Reset

 for //debug


 for //product

Building Product for Android

Access to Project root folder in Terminal before build and reflect source edit history


  1. Launch Android Studio
  2. Select Import project (Gradle, Eclipse ADT, etc.)
  3. ‘e-wallet/platforms/android’ Open

Building Product for iOS

Access to Project root folder in Terminal before build and reflect source edit history


  1. Launch Xcode
  2. ‘e-wallet/platforms/ios/E-Wallet.xcworkspace’ Open
  3. For Product Build, launch XCode / Product / Archive

Build error patch

Because of dependency conflicts, duplicate symbol errors occur during Xcode build. Therefore, you should remove specific .frameworks for E-Wallet / Frameworks / at first open with Xcode.

● nanopb.framework
● FirebaseAnalytics.framework
● FirebaseAuth.framework
● FirebaseCore.framework
● FirebaseInstanceID.framework
● FirebaseABTesting.framework
● GoogleUtilities.framework
● GTMSessionFetcher.framework
● GoogleToolboxForMac.framework
● Protobuf.framework
● FirebaseMessaging.framework
● FirebasePerformance.framework
● FirebaseRemoteConfig.framework

image2019-3-25_12-34-7.png


Universal link Configuration

For Universal link operation, Xcode configuration is necessary as below, assuming the relevant settings of the Signing Profile and the Server in Apple Development already exist.

  • Set Xcode / E-Wallet / Capabilities / Associated Domains
  • After clicking the‘+’ button, type ‘applinks:ewallet.edenchain.io

image2019-3-25_12-34-43.png


Attachments: