Try : Insurtech, Application Development

Edtech(3)

Events(26)

Life@mantra(8)

Logistics(1)

Strategy(5)

Testing(4)

Android(42)

Backend(29)

Dev Ops(2)

Enterprise Solution(12)

Frontend(29)

iOS(37)

Javascript(13)

Augmented Reality(7)

Customer Journey(7)

Design(5)

User Experience(19)

AI in Insurance(18)

Insurtech(47)

Product Innovation(27)

Solutions(5)

Artificial Intelligence(78)

Bitcoin(7)

Blockchain(14)

Cognitive Computing(6)

Computer Vision(5)

Data Science(11)

FinTech(37)

Intelligent Automation(19)

Machine Learning(41)

Natural Language Processing(5)

10 Takeaways from the World InsurTech Report 2019

Nidhi Agrawal
6 minutes, 6 seconds read

The insurance market dynamics are changing rapidly. While a connected ecosystem is the need of the time, agility and new business models are a way through. The current edition of the World InsurTech Report (WITR) emphasizes on developing synergies between Insurers and InsurTechs for the success of the future insurance marketplace. Here are 10 key takeaways from WITR 2019.

Insurance Business Process Improvements

Tech giants like Alibaba, Amazon, Apple, Facebook, and Google are entering the Insurance space with enormous customer data. Moreover, customers (nearly 30%) are responding positively to buying insurance products from BigTech firms, according to the World Insurance Report 2018. WITR proposes the following business process improvement for Insurers to remain market-fit.

#1 Partnerships with Insurtechs, Financial Institutions and Industry Players

90% of InsurTechs and 70% of Incumbents believe partnerships are crucial. And these partnerships are not confined only to the insurance sector. These can include collaboration with financial, technology, healthcare, travel, transportation, hospitality, retail, and more. 

Partnerships - world InsurTech Report 2019
The diagram illustrates the Insurance and InsurTechs’ level of willingness for partnerships – World InsurTech Report 2019

Baloise Insurance partnered with Swiss bank BLKB, and Swiss online insurance broker Anivo to develop a flexible and scalable digital insurance platform with B2C integration. The product released as Bancassurance 2.0 achieved a hit ratio of 50% for video-chat advisory sessions; more than 90% of customers rated the experience as good or very good. 

Partnerships can also bring compound insurance products, which otherwise seems impossible. For example, Swiss Re and French cybersecurity InsurTech firm OZON together, launched CyberSolution 360°. It is a risk management solution combining insurance and cyber-attack protection services for small and medium-sized enterprises.

#2 Adopting New Business Models

Not only Insurers, but also customers approve of new insurance models. For instance, 41% of customers are ready to consider usage-based insurance and 37% are willing to explore on-demand coverage. To meet the coverage gaps, offer convenience and personalization, Insurers are adopting the following new business models.

  1. Usage-based model for as-you-go coverage/premiums for a customer’s potential risky behaviour.
  2. On-demand model for cost-effective requirement-based coverage.
  3. Parametric insurance for covering uninsured risks, based on an objective-triggering event.
  4. Microinsurance services with low-premium packages.

#3 Aligning Strategies with the Future Insurance Marketplace

An insurance marketplace is a viable solution to support a broad spectrum of customer demands. It can also offer coverage for emerging risks and can deliver easy-access compound offerings from individual players of the insurance, manufacturing, and technology ecosystem.

For example, Friday, a Berlin-based startup, launched in 2017, offers digital automotive insurance with kilometre-based billing, flexible tenure, and paperless administration. With telematics support from BMW CarData, Automotive services from ATU, car-rental marketplace Drivy, and distribution channel from Friendsurance, Friday offers customer-centric insurance products.

“The insurance marketplace of the future will provide data and insights about customers that the industry never had before. This will allow firms to design a product closer to customers’ needs and, more importantly, offer them the product when they need it!”

Stephen Barnham, Asia CIO, MetLife

#4 Building an Integrated Ecosystem

As aggregators, OEMs (Original Equipment Manufacturers), policy management apps, and third parties enter the insurance value chain, an integrated insurance ecosystem can smoothen the overall functioning. 

For instance, digital integration with aggregators and third parties can broaden the Insurers’ distribution channel. Partnering with OEMs can help them with real-time customer data. Further, APIs, cloud-based storage, and blockchain can foster the insurance ecosystem with data security and transparency.

Technology Implementation Partners- World InsurTech Report 2019
An overview of digitally integrated ecosystem – World InsurTech Report 2019

#5 Being an Inventive Insurer

Inventive Insurers are the ones who have strategically updated their product portfolios, operating models, and distribution methods. They are realistic about their competencies. By identifying their distinct capabilities and partnering with other players to bridge their competency gap, Inventive Insurers can deliver an end-to-end product to the customers.

The World InsurTech Report 2019 defines the competencies of Inventive Insurers as follows –

  1. Capable of making business processes more intelligent, efficient, and effective using AI, automation, and analytics.
  2. Creating new scalable products with shorter development cycles.
  3. Enabling seamless integration with new data sources and distribution models.
  4. Offering value-added services to the customers.

Product Innovations

The tech-savvy customers are seeking easy-to-understand products with the facility of direct online purchases. Even leading Insurer like Berkshire Hathaway’s Insurance Group – BiBerk launched ‘THREE’ – only three pages long product covering workers’ compensation, liability, property, and auto to catch the pace. The drift is towards the following new insurance products.

#6 Bundling Financial and Non-financial offerings

An insurance package comprising both financial and non-financial products can expand an Insurer’s products portfolio, giving a competitive edge. It can also help in pitching new prospects. Bundling products and services will increase customer touchpoints and can help insurers identify their needs more effectively.

Bundling financial and non-financial services: World InsurTech Report 2019

For example, Homeflix insurance provides renters and homeowners insurance to its core. In addition to insurance coverage, it also offers concierge maintenance services like plumbing and electricity. The company also plans home delivery, babysitting, and cleaning services next.

#7 Tailored Products

Traditional insurance policies don’t fit today’s desire for add-on services, personalization, and flexible offerings. The World Insurance Report 2019 survey found that more than 75% of B2B customers and 85% of retail policyholders believe they’re not covered against the emerging risks.

Being aware of the need for customized products, 84% of Insurers and 80% of InsurTechs say they are focusing on “developing new offerings.”

#8 Products that Engage and Educate Customers

Gamification, video-chat sessions, and social media are promising channels for engaging with customers and educating them about risks and their need for coverage. Healthy interactions with customers through their preferred channels can boost sales.

“Insurers should focus on providing user friendly, transparent information via digital channels, allowing customers to make an informed decision. This will be critical not only for upselling, but also for attracting more new-generation customers, who are tech savvy and want to make faster product decisions.”

Jas Maggu, CEO, Galaxy.AI

Operational Improvements

For operational success- understanding customer preferences, conceptualizing new products portfolio, partnerships, and an effective go-to-market strategy is crucial. Fundamental shifts in the current operational models towards experience-driven solutions, strategic use of data, partnerships, and shared ownership of assets portray emerging trends. 

#9 Embracing Digital Agility

70% of insurers and 85% of InsurTechs believe a lack of technological readiness is a critical concern.

The more quickly Insurers implement initiatives, the closer they will be to achieve the digital maturity and hence actively participate in the connected ecosystem. The agile digital infrastructure demands real-time data gathering and analytics and automation of complex processes.

It will also lead to product agility. Insurers can offer new products at a faster pace and with reduced GTM (go-to-market) time, they can gain a competitive advantage. 

#10 Automating Processes

Not only claims processing and underwriting, but much more insurance back and front-office operations can also be automated. Automation brings two-fold benefit to the insurers. One- mundane tasks are carried by machines, speeding the processes and freeing humans for sophisticated work. The other benefit lies in enhanced accuracy. 

For example, AIA Hongkong has improved claims processing time by 40% through AI-driven ICR techniques and intelligent process automation. 

Read claims automation case study: How AIA Hong Kong saves 60% through claims automation.

Deutsche Familienversicherung (DFV) provides a digital automated platform for property and supplementary health insurance. It can process the transactions in real-time enabling customers to file claims and receive feedback immediately. Moreover, policyholders can engage with the firm via several digital channels, including Amazon Alexa.

Source: World InsurTech Report 2019

InsurTech Report 2019: Summing-up

  1. Scope of business process improvements through partnerships, devising new business models, embracing insurance marketplace, building an integrated ecosystem, and being an inventive insurer.
  2. Introducing innovative products that are tailor-made and educate customers about potential risks; bundling financial and non-financial offerings.
  3. Operational improvement through automation and digital agility.

We’re AI-first products and solutions firm for the new-age digital insurer recognized among the InsurTech100 for pioneering the transformation of the global insurance industry. Drop us a line at hello@mantralabsglobal.com to know more about our offerings.

Cancel

Knowledge thats worth delivered in your inbox

Ratemaking, or insurance pricing, is the process of fixing the rates or premiums that insurers charge for their policies. In insurance parlance, a unit of insurance represents a certain monetary value of coverage. Insurance companies usually base these on risk factors such as gender, age, etc. The Rate is simply the price per ‘unit of insurance’ for each unit exposed to liability. 

Typically, a unit of insurance (both in life and non-life) is equal to $1,000 worth of liability coverage. By that token, for 200 units of insurance purchased the liability coverage is $200,000. This value is the insurance ‘premium’. (This example is only to demonstrate the logic behind units of exposure, and is not an exact method for calculating premium value)

The cost of providing insurance coverage is actually unknown, which is why insurance rates are based on the predictions of future risk.  

Actuaries work wherever risk is present

Actuarial skills help measure the probability and risk of future events by understanding the past. They accomplish this by using probability theory, statistical analysis, and financial mathematics to predict future financial scenarios. 

Insurers rely on them, among other reasons, to determine the ‘gross premium’ value to collect from the customer that includes the premium amount (described earlier), a charge for covering losses and expenses (a fixture of any business) and a small margin of profit (to stay competitive). But insurers are also subject to regulations that limit how much they can actually charge customers. Being highly skilled in maths and statistics the actuary’s role is to determine the lowest possible premium that satisfies both the business and regulatory objectives.

Risk-Uncertainty Continuum

Source: Sam Gutterman, IAA Risk Book

Actuaries are essentially experts at managing risk, and owing to the fact that there are fewer actuaries in the World than most other professions — they are highly in demand. They lend their expertise to insurance, reinsurance, actuarial consultancies, investment, banking, regulatory bodies, rating agencies and government agencies. They are often attributed to the middle office, although it is not uncommon to find active roles in both the ‘front and middle’ office. 

Recently, they have also found greater roles in fast growing Internet startups and Big-Tech companies that are entering the insurance space. Take Gus Fuldner for instance, head of insurance at Uber and a highly sought after risk expert, who has a four-member actuarial team that is helping the company address new risks that are shaping their digital agenda. In fact, Uber believes in using actuaries with data science and predictive modelling skills to identify solutions for location tracking, driver monitoring, safety features, price determination, selfie-test for drivers to discourage account sharing, etc., among others.

Also read – Are Predictive Journeys moving beyond the hype?

Within the General Actuarial practice of Insurance there are 3 main disciplines — Pricing, Reserving and Capital. Pricing is prospective in nature, and it requires using statistical modelling to predict certain outcomes such as how much claims the insurer will have to pay. Reserving is perhaps more retrospective in nature, and involves applying statistical techniques for identifying how much money should be set aside for certain liabilities like claims. Capital actuaries, on the other hand, assess the valuation, solvency and future capital requirements of the insurance business.

New Product Development in Insurance

Insurance companies often respond to a growing market need or a potential technological disruptor when deciding new products/ tweaking old ones. They may be trying to address a certain business problem or planning new revenue streams for the organization. Typically, new products are built with the customer in mind. The more ‘benefit-rich’ it is, the easier it is to push on to the customer.

Normally, a group of business owners will first identify a broader business objective, let’s say — providing fire insurance protection for sub-urban, residential homeowners in North California. This may be a class of products that the insurer wants to open. In order to create this new product, they may want to study the market more carefully to understand what the risks involved are; if the product is beneficial to the target demographic, is profitable to the insurer, what is the expected value of claims, what insurance premium to collect, etc.

There are many forces external to the insurance company — economic trends, the agendas of independent agents, the activities of competitors, and the expectations and price sensitivity of the insurance market — which directly affect the premium volume and profitability of the product.

Dynamic Factors Influencing New Product Development in Insurance

Source: Deloitte Insights

To determine insurance rate levels and equitable rating plans, ratemaking becomes essential. Statistical & forecasting models are created to analyze historical premiums, claims, demographic changes, property valuations, zonal structuring, and regulatory forces. Generalized linear models, clustering, classification, and regression trees are some examples of modeling techniques used to study high volumes of past data. 

Based on these models, an actuary can predict loss ratios on a sample population that represents the insurer’s target audience. With this information, cash flows can be projected on the product. The insurance rate can also be calculated that will cover all future loss costs, contingency loads, and profits required to sustain an insurance product. Ultimately, the actuary will try to build a high level of confidence in the likelihood of a loss occurring. 

This blog is a two-part series on new product development in insurance. In the next part, we will take a more focused view of the product development actuary’s role in creating new insurance products.

Cancel

Knowledge thats worth delivered in your inbox

You’ll be amazed to know that globally, nearly 62% of users access the internet through mobile last year. By the end of 2020, the number of smartphone users is going to reach 2.87 billion. 

This is huge, isn’t it? But, this also raises a question — are desktop/web applications dying?

Developers frequently face this dilemma of which platform to learn for web/mobile app development. Fortunately, hybrid app development platforms and frameworks answer this question. Let me quickly walk you through hybrid mobile app creation before delving deeper into Ionic Framework.

What is a hybrid mobile app?

You might have encountered terms like native and hybrid mobile apps. Developers use these terms to describe the underlying technology behind building the apps. A hybrid mobile app is built using technologies like HTML, CSS, and Javascript, which are compatible with web applications as well. 

On the contrary, native apps are the ones that are developed on android/iOS technologies specifically. However, an external user cannot figure out whether an app is a hybrid or native. 

Many platforms and frameworks allow building impressive hybrid applications like Ionic, React Native, Xamarin, Onsen UI, PhoneGap, and Mobile Angular UI. In this article, we’ll discuss the Ionic Framework in depth. I’ll also explain why we’re choosing Ionic for hybrid app development. After reading this, you’ll be able to install Ionic SDK, build and run your apps from scratch.

Happy coding!

Why Ionic Framework?

Ionic is one of the most popular frameworks for developing hybrid apps available today. Its complete source code is available on GitHub. With the Ionic framework, anyone can start creating effective android apps just with an idea, a computer, and an internet connection. 

Did you notice — I didn’t mention pricing?

That’s true. You need not buy a license for Ionic. Thus, you can start developing apps for free.

  1. Cross-platform: The application you develop once in Ionic is compatible with web, Android, iOS, Windows, and some other operating systems. You’ll only need a handy knowledge of Javascript. Also read – Trending Javascript Frameworks for 2020
  2. Frontend development: Ionic uses AngularJS for front-end development. Angular’s CSS and Javascript features allow you to customize your app with buttons, menus, and several attractive color schemes. You can apply derivative and UI elements while you launch your app on different platforms and whoa! Your app just now got a native look.
  3. Developers community: With a vast and active community, you’ll always find help at hand for any problem you face while developing apps on Ionic.
  4. Cordova plugins: This is one of the best parts of Ionic app development. It opens the doors to native device capabilities beyond pure web applications. With Cordova, you get access to logs, battery, geolocation, camera, etc. to enhance your app performance. And you can avail these all by adding just a few simple codes.
  5. Code reusability: Once you’ve developed an app, you can use the same code with slight changes to build an entirely new app. This will help you a lot in improving your TAT (Turn around time).
  6. Testing: Testers can easily run the script using Cordova commands for both iOS and Android.

Now let’s get started with Ionic Framework!

Quick Installation Guide for Ionic & Components

Let’s start with minimum basic requirements for building your app with the current release of Ionic. Currently, Ionic targets iPhone and Android devices supporting iOS 7+ and Android 4.1+. However, you’ll find some old Android devices, where Ionic apps might not work. 

If you’re on Windows, make sure you download and install Git for Windows and optionally Console2. In this guide, you’ll be executing commands in Git Bash or Console2 windows.

First, we need to install the most recent version of Apache Cordova. It will take your app and bundle it into a native wrapper to turn it into a traditional native app.

To install Cordova, make sure you have Node.js installed and then run the command – 

$ sudo npm install -g cordova

Special Notes:
Linux Android Note: If you’re using a 64-bit version of Ubuntu, install 32-bit libraries. It is because Android is only 32-bit at the moment. You can use the following command-

$ sudo apt-get install ia32-libs

If you’re on Ubuntu 13.04 or greater, ‘ia32-libs’ has been removed. You can use the following packages instead-

$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

If you are running a 64-bit version of Fedora you’ll need to install the following 32-bit packages-

$ sudo yum install -y glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686
ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686

Windows note on Java, Ant, and Android: Install the most recent Java 8 JDK and not just the JRE. Currently, Cordova doesn’t support JDK 9. 

Next, create an environment variable for JAVA_HOME. It should point to the root folder where the Java JDK is installed. For example, if you’ve installed the JDK into C:\Program\Files\Java\jdk7, set JAVA_HOME at this path. Post this, add the JDK’s bin directory to the PATH variable as well. As per previous assumption, it should be either %JAVA_HOME%\bin or the full path: C:\Program Files\Java\jdk7\bin

Apache Ant

To install Ant, download the zip file (here), extract it, and move the first folder in the zip to a safe place. After this, update your PATH to include the bin folder in that folder. For example, if you moved the Ant folder to C:/, you’d want to add this to your PATH:

C:\apache-ant-1.9.2\bin

Android SDK

It is important to install the Android SDK. Android SDK provides you API libraries and developer tools which are necessary to build, test, and debug Android apps.

You’ll need to set the ANDROID_HOME environment variable. Point this to [ANDROID_SDK_DIR]\android-sdk directory. For example, 

C:\android\android-sdk

Next, you’ll need to update your PATH to include the tools/ and platform-tools/ folder in that folder. Therefore, using ANDROID_HOME, add both %ANDROID_HOME%\tools and %ANDROID_HOME%\platform-tools.

Install Ionic

Run the following command to install ionic:

$ sudo npm install -g ionic

Create the project

$ ionic start todo blank –type ionic1

This will create a ‘todo’ folder in the directory where the command was run. Next, go into this directory and list the contents. This is how the outer structure of your ionic project will look like: 

$ cd todo && ls

├── bower.json // bower dependencies
├── config.xml // cordova configuration
├── gulpfile.js // gulp tasks
├── hooks      // custom cordova hooks to execute on specific commands
├── ionic.project  // ionic configuration
├── package.json   // node dependencies
├── platforms  // iOS/Android specific builds will reside here
├── plugins    // where your cordova/ionic plugins will be installed
├── scss       // scss code, which will output to www/css/
└── www        // application – JS code and libs, CSS, images, etc.

Configure Platforms

Next inform ionic that you want to enable iOS and Android platforms. Please note, unless you’re on macOS, leave out the iOS platform. So, run the following commands.

$ ionic cordova platform add ios
$ ionic cordova platform add android

Basic code structure in the Ionic Framework

Let’s now walk through the anatomy of an Ionic app. Inside the folder (we just now created), we’ve a typical Cordova project structure where we can install native plugins, and create platform-specific project files.

./src/index.html

src/index.html is the main entry point for the app, though its purpose is to set up scripts, CSS includes, and bootstrap, or start running our app. We won’t spend much of our time in this file.

For your app to function, Ionic looks for the <ion-app> tag in your HTML. In this example we have:

<ion-app></ion-app>

and the following scripts near the bottom:

<!– Ionic’s root component and where the app will load –>
<ion-app></ion-app>
<!– The polyfills js is generated during the build process –>
<script src=”build/polyfills.js”></script>
<!– The vendor js is generated during the build process
  It contains all of the dependencies in node_modules –>
<script src=”build/vendor.js”></script>
<!– The main bundle js is generated during the build process –>
<script src=”build/main.js”></script>

These scripts are all generated by the build system, so no need to worry about them. 

./src/

You’ll find your code inside the src directory. And you’ll be doing most of the work for an ionic app here. While running the ionic server, the code inside src/ is transpiled into the correct Javascript version, which a browser understands. Currently, it’s ES5. This means that we can work at a higher level using TypeScript, but we can also compile down to the older form of Javascript depending on the browser needs.

src/app/app.module.ts is the entry point for our app.

Near the top of the file, we should see this:

@NgModule({
  declarations: [MyApp, HelloIonicPage, ItemDetailsPage, ListPage],
  imports: [BrowserModule, IonicModule.forRoot(MyApp)],
  bootstrap: [IonicApp],
  entryComponents: [MyApp, HelloIonicPage, ItemDetailsPage, ListPage],
  providers: [StatusBar, SplashScreen, {provide: ErrorHandler, useClass: IonicErrorHandler}]
})
export class AppModule {}

You’ll notice that every app has a root module, which controls the rest of the applications. You’ll find this very similar to ng-app from Ionic 1 and AngularJS. We’ll also bootstrap our app (using ionicBootstrap) from here. 

./src/app/app.html

Here we’ll discuss the main template for the app in src/app/app.html.

First, set the root component to MyApp in src/app/app.component.ts. This will be the first component to load in your app. Typically, it is an empty shell for other components to load into it. We’ll set our app.component.ts template to src/app/app.html. This is how it will look. 

<ion-menu [content]=”content”>
  <ion-header>
    <ion-toolbar>
      <ion-title>Pages</ion-title>
    </ion-toolbar>
  </ion-header>
  <ion-content>
    <ion-list>
      <button ion-item *ngFor=”let p of pages” (click)=”openPage(p)”>
        {{p.title}}
      </button>
    </ion-list>
  </ion-content>
</ion-menu>
<ion-nav [root]=”rootPage” #content swipeBackEnabled=”false”></ion-nav>

Test it out:

To make sure that the default project works, try building and running the project (substitute iOS for android to build for Android instead):

$ ionic cordova build ios
$ ionic cordova emulate ios

Deployment

Android Devices

Deploying to an Android device is a fairly straightforward process. If you have a working Android development environment, you’re ready to go.

Requirements:

Running Your App

Enable USB debugging and Developer Mode on your Android device. Then run ionic cordova run android — device from the command line.
This will produce a debug build of your app, both in terms of Android and Ionic’s code.

Please note that enabling USB debugging and Developer Mode may vary from device to device. However, it is easy to look up with a simple Google search. For details, you can check out – Enabling On-device Developer Options in the Android docs.

Production Builds

To run or build your app for production, run

ionic cordova run android –prod –release

(or)

ionic cordova build android –prod –release

This command will minify your app’s code as an ionic source. It will also remove any debugging capabilities from the APK. People generally use this while deploying an app to the Google Play Store.

Sign Android APK

For releasing your app in the Google Play Store — sign your APK file. For this, create a new certificate/keystore.

Let’s generate your private key using the keytool command that comes with the JDK:

keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias

Now, you’ll be prompted to create a password for the keystore. After answering the rest of the nice tool’s questions, you’ll have a file called —  my-release-key.jks in the current directory.

Note: Make sure to save this file somewhere safe, if you lose it you won’t be able to submit updates to your app!

To sign the unsigned APK, run the jarsigner tool which is also included in the JDK:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks app-release-unsigned.apk my-alias

After signing, one final step — you’ll need to run the zip align tool to optimize the APK. You’ll find this tool at-

/path/to/Android/sdk/build-tools/VERSION/zipalign. 

For example, on OS X with Android Studio installed, zipalign is in ~/Library/Android/sdk/build-tools/VERSION/zipalign:

zipalign -v 4 app-release-unsigned.apk HelloWorld.apk

If you want to verify that your apk is signed, run apksigner. You can find this in the same path as the zipalign tool:

apksigner verify HelloWorld.apk 

Now we have our final release binary called HelloWorld.apk and we can release this on the Google Play Store for all the world to enjoy! 

iOS Devices

iOS developers need to generate a provisioning profile for code signing their apps for testing. However, the good news is that you can develop and test your apps on your iOS device without a paid Apple Developer account in iOS9. This is particularly great for developers who want to try mobile development using the Ionic Framework.

You’ll require- 

  • Xcode 7 or higher
  • iOS9 

Creating a Provisioning Profile

First of all, you’ll need to set up a provisioning profile for code signing your apps.

Using an Apple ID

  1. Open Xcode preferences (Xcode > Preferences…)
  2. Click the ‘Accounts’ tab
  3. Log in with your Apple ID (+ > Add Apple ID…)

Once you’ve logged in successfully, you’ll find a new ‘Personal team’ with the role ‘Free’ appearing beneath your Apple ID.

Ionic Framework: creating a provisioning profile

Running Your App

  1. Run a production build of your app with ionic cordova build ios –prod
  2. Open the .xcodeproj file in platforms/ios/ in Xcode
  3. Then connect your phone with USB. Select your phone as the run target.
  4. Click the play button in Xcode

Oops, code signing error! No problem.

Code Signing Your App

It totally depends on whether you’re using Xcode 8 or an earlier version…

Xcode 7 and Earlier

For this, you’ll get a code signing error. It will look like the following image when you try to run the app.

Code sign error in Ionic Framework

To fix this, click the “Fix Issue” button and then select your “Personal Team” profile.

Code sign error fix issues

Xcode 8

In Xcode 8, the code signing error will appear as a build-time error instead of a pop-up.

Code sign error in Xcode 8

To select the certificate to sign your app with, do the following:

  1. Go to the ‘Project Editor’ by clicking the name of your project in the ‘Project Navigator’
  2. Select the ‘General’ section
  3. Select the team associate with your signing certificate from the ‘Team’ dropdown in the ‘Signing’ section
Ionic Framework: how to code sign

Trusting the Certificate

After code signing, you’ll get a launch error that looks like the following image. On Xcode 7 and below versions, you’ll see this automatically. On Xcode 8, it appears next time when you try to run the app.

launch error

To remove this error, you’ll have to tell the iOS device to trust the certificate. You can do this in the following steps-

  1. On your iOS device, open the ‘Settings’ app
  2. Then, go to General>Device Management. Here, you’ll find the email address associated with your Apple ID or Apple Developer account, which you used while code signing your app.
  3. Tap the email address
  4. Tap ‘Trust <your_email>’:
device management in ionic

After this, go back to Xcode and hit the play button. Or you can run ionic cordova run ios –device from the command line to install and launch your app on your iOS device.

Additional tips while using the Ionic Framework

1. Use or create a yeoman generator

Yeoman is a scaffolding tool that allows you to quickly deploy pre-configured projects. A place to start is exploring some of the Ionic Yeoman generators to see if they meet your requirements. 

Ionic Framework does have some excellent inclusions. But, you may want to customize your development environment with tools like javascript linters, code coverage support, emulators, and platform integrations to further improve your application. Yeoman generators also expose you to different folder structures, which you might find better than previous approaches.

2. Just put styles in www?

It may be tempting to rush into things and throw new scss files into the www folder; somewhere near the code for the Ionic styles and then add a reference to your CSS file within the index.html. 

Avoid that! 

This won’t work with the Ionic Gulp set up. It’s a safe practice to not to add things in there.

3. Put your custom app styles into their own folder

Today, your app might be small and simple. But, it will eventually grow and you might want it to remain manageable. You might be concerned especially when a team of developers will be involved in the project. 

Hence, I recommend splitting your app’s custom styles into a neater set of files. It should mirror Ionic’s sass files whenever we’re specifically overriding Ionic itself. You can put these custom app styles into their own sub folder, which will be easy to change/update later.

Now that you know that Ionic is the dominant hybrid mobile development framework, installing it, and using it is also easier as compared to other platforms. Do let me know if you have queries, I’ll be happy to help.

About the author: Anand Nanavaty is a Software Engineer at Mantra Labs. He has been involved in mobile app development for the company’s B2B clients. Apart from coding and experimenting with different application development frameworks, Anand likes trekking and hiking into the greens.

Related articles-

Cancel

Knowledge thats worth delivered in your inbox

Loading More Posts ...
Go Top

May i help you?

Our Website is
Best Experienced on
Chrome & Safari

safari icon