Geolocation Plugin not working at all

I am using cordova-plugin-geolocation in my App.
I remember the getCurrentPosition working in previous build.
But it stopped working on Android.

It works fine on iOS but fails on Android.
I have tried to add whitelist plugin but to no awail.

The PositionError thrown states: “Only secure origins are allowed”.
I am running on device and verified that the URL is “file:///android_assets/www/index.html”.
All the forums state that it should work if running on device without livereload but it does not.

The Geolocation Plugin is version: 2.4.3

What do I do?

@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 1.3.7
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.3.0


Android SDK Tools : 26.0.2
ios-deploy        : 1.9.1 
ios-sim           : 5.0.8 
Node              : v7.2.0
npm               : 3.10.9 
OS                : macOS Sierra
Xcode             : Xcode 8.3.3 Build version 8E3004b

Do you have Any news regarding this problem ?
Can you post an example of code so i can see how you use positionerror ?