Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49171

Haradware back button

$
0
0

@bagojikop76 wrote:

Hi all

i am new here for using ionic and recently i have finished one project but in my project i have used following function in controller but didnt fire when user press back button on android mobile . i saw lof of solution same examples but why not work with me please help me.

.controller('FinishedOrder', function ($scope, $state, dataService, $location, $ionicPlatform, $ionicHistory) {

$ionicHistory.nextViewOptions({
    disableBack: true
});

$ionicPlatform.registerBackButtonAction(function (event) {
event.preventDefault();

}, 100);

});

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49171

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>