Skip to content

Instantly share code, notes, and snippets.

Prince PRINCEHR

  • India
View GitHub Profile
@PRINCEHR
PRINCEHR / firebase_index.t.ds
Created Jan 11, 2020
Firebase_ionic_3_integration_problem_solution_for_index_d.ts_||Just replace the index.d.ts with this code
View firebase_index.t.ds
/**
* @license
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@PRINCEHR
PRINCEHR / app.js
Created Apr 30, 2017 — forked from ghprod/app.js
Cordova Exit App Confirm
View app.js
document.addEventListener("deviceready", deviceisready, false);
function deviceisready(){
alert("Device Ready is called");
document.addEventListener("backbutton", function(e){
if ( $('.ui-page-active').attr('id') == 'mainpage') {
//window.location = "#exitDialog";
exitAppPopup();
}else{
history.back();
You can’t perform that action at this time.