Developing an app

improve this page | report issue

Overview

Developing an app includes the following steps:

  1. Create an app. Refer to Creating an app section.
  2. Design your app by adding the required controls. For more information, refer to Digital App Builder interface.
  3. Add the services you need (Watson Chat, Watson Visual Recognition, Push Notifications, Data Set, Live Update) in your app.
  4. Add or modify the Platforms, if required. Refer to the Settings > App details section.
  5. Preview your app. Refer to Preview the app using the simulator.
  6. After previewing your application and if it is ready for build, after rectifying any errors, perform the following steps for building the application:

    • For Android app:

      a. Navigate to the directory, which you have specified at the time of creating the app.

      b. Go to ionic folder.

      c. Go to Platform > Android.

      d. Open Android Studio and then go to File > Open Project > Choose the android folder mentioned in step c.

      e. Build the project.

      Note: For publishing and building follow the steps from tutorial https://developer.android.com/studio/publish/.

    • For iOS app:

      a. Navigate to the directory, which you have specified at the time of creating the app.

      b. Go to ionic folder.

      c. Go to Platform > iOS.

      d. Open Xcode and then build the project.

      Note: For publishing and building follow the steps from tutorial https://developer.apple.com/ios/submit/.

Previewing the app

You can preview the app developed by connecting to the simulation to the channel selected.

  • To preview the App on iOS, download and install XCode from Apple App Store.
  • To preview the App on Android,

Note: To quickly preview your app, select the Preview App option and it will open a new window with your app running. You can set it to different platform models and change the orientation as well. The changes made in the app will be reflected live in this preview window.

Note: File > Export to Code will export the project to code mode. (the app code will be saved in a new folder thus not disturbing the design mode.) after exporting to code mode, you cannot open the exported project in design mode.

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on September 13, 2019