Offline Programmer
CLOSE SEARCH

Using AppRate for your Ionic 2.0 App

In this tutorial we are going to allow the users to rate our ionic app on Google Play and Apple Store. Let’s create the app using the command below

We need to add IonicNative to the App, run the command below

Run the commands below to add the AppRate plugin

Let’s create a button so that the user can tap on it and rate our App. open home.html and add the button below

Open home.ts and lets’s import what we need

Add the following variable before the constructor

Configure the storeApp details in the constructor […]

Upload Images to Firebase Storage Using Ionic Framework

In this tutorial we are going to use Ionic 2 App to upload images to Firebase Storage. Before writing any code follow Ionic Framework documentations to make sure that your development environment is up to date. Let’s start by Firebase setup. Go to Firebase Console (https://console.firebase.google.com/) and create a new Project, call it myPhotos     On Storage create a new folder call it Photos     Now let’s create the App by running the command below through the Command Prompt

  Assuming you are using the latest ionic release; this command will open a browser window with the […]

Creating A Password Protected Zip File Using PowerShell

We will use PowerShell to do the following: Create a Random Password Create a zip file and protect it using the random password Send the zip file and the password on 2 separate emails   Creating a random password: The script below will create a string of 8 characters which contains 2 Non Alpha Numeric Characters

  Creating the Zip file: Note the arguments section where you speicfy the password

  Sending the Emails: First let’s send the csv file as attachment

Now let’s send the password

  Thanks for reading… 🙂

Share A ScreenShot In Ionic2

Social sharing is a very popular capability that you can add to your app to increase the user engagement and improve your App brand. We’re going to take a look on how you can use Ionic Native to take a screenshot of a screen in your Ionic App and share it using Facebook. For this you you need the following: Ionic 2 App. Follow ionicframework documentations to start a blank project Social Sharing Plugin – Follow Ionic Native documentations to add it to your App Screenshot Plugin – Follow Ionic Native documentations to add it to your App   Let’s add a button to allow the user […]

Upload Images to App Storage Using Ionic Framework

You need the following: Ionic App. Follow ionicframework documentations to start a blank project Cordova Camera Plugin Cordova File Plugin Let’s start by adding the plugins to our ionic App by running the following commands

we need a template that include a button to allow the user to select from the Gallery and button to start the camera. Once the user select or take the photo we will display it on the App. See below

  Select From Gallery Here we need to set the camera plugin sourceType to PHOTOLIBRARY as shown below

Take A Photo For this option we need to set […]