-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c178124
commit 8ebde73
Showing
14 changed files
with
416 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to apply?
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asterism612 just update ionic to latest nightly version
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nightly-998 is not work...
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asterism612 it works on my iOS simulator, not works in browser.
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i run on device;
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me on my iPhone 5
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamdbradley It's not working for me with 1.0.0-beta.14-nightly-998 freeze the app on device iOS 8.1.3 when swipe to back. On browser I'm getting:
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works in Ionic View for iOS, but not in Safari. So I assume this is works in a Cordova built app as well. Is this by design? I'd really like this feature in the browser (standalone "add to homescreen") style as well, not just when in a Cordova webview.. Makes sense not to have this feature in browser, since Safari has it's own edge swipe to go back gesture.
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@argyleink Yes, it's purposefully turned off for Safari because of that reason. You can manually override but I wouldn't recommend it.
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh sweet, so i could manually override if in a "standalone" environment? lovely! i'll scour the docs, unless you can quick link me to it? Thanks for the response mang!
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this what I need?
$ionicConfigProvider.views.swipeBackEnabled(true);
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried on iOS 8.1.2 (iphone5) and iOS 8.1.3 (iphone6), it doesn't seem to be working, with or without $ionicConfigProvider.views.swipeBackEnabled(true);
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't get it to work either. Function seems ineffective when setting it to true.
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is only going to work on iOS Cordova, so swipeBackEnabled is only effective on iOS cordova.
8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to disable it?
$ionicConfigProvider.views.swipeBackEnabled(false);
doesn't seem to work8ebde73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamdbradley even if I $ionicConfigProvider.views.swipeBackEnabled(false); in app.config, I can still swipe back in a certain views. Any suggestion?