How to import outlook contacts to ionic app – Draft

1. Login to Microsoft developer console or you can directly go to the console by clicking following link and crate a application with desired name.

2. Grab the application client ID and secret keys from the Microsoft developer app control panel.

3. Now install In App Browser – Install the Cordova and Ionic Native plugins with below commands

4. After installing a plugin’s package called in-app-browser, add it to your app’s NgModule and also import HttpModulesrc/app/app.module.ts.

4.For the sake of simplicity lets use our home page component(src/pages/home/home.ts), add in App Browser to the home module as shown below.

5. Add the button in the home screen to initiating the authorization code/token request. After adding button my home page html will become like below shown.

5. Now define your outlookLogin() method in the home component.

Published
Categorized as Ionic

By Arjun

I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.

0 0 vote
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Sam Singh
Sam Singh
2 years ago

Do you have an ionic v1 version of this tutorial? I been struggling with it for the last 4 days. I can get the access_token but not the code or the refresh_token I need the refresh token to store in the backend for offline processing. I am getting redirect_uri must be an absolute url error.

Priyatham Krishna
Priyatham Krishna
2 years ago

And How can we do it with angular 5..