- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.2k
 
CB-13498 added closebutton option for ios #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ble the close button in the toolbar
| 
           so... can this request be considered by a project maintainer?  | 
    
| 
           My iOS coding skills are too bad to review this myself, but have a look at what I posted at this other PR with the same problem: #246 (comment)  | 
    
| 
           The code for this looks fine and it works as described. But I am struggling to really find a reason for adding this feature. 
 To me this seems like a very specific use case that doesn't warrant adding it back to the main plugin repo.  | 
    
| 
           Hey thanks for chiming in! Why would a developer want to have an inappbrowser window with no close button? To me this seems like a very specific use case that doesn't warrant adding it back to the main plugin repo.  | 
    
| 
           Not OP, but my idea I got when seeing this: 
  | 
    
| 
          
 I had a feeling that this is what you were trying to accomplish by removing the close button. Another question, have you tried to release this app to the store before? Typically Apple will not approve apps that are simply a wrapper for a website. They will also check to see how your app functions in an offline mode, which could be another reason it would get rejected. If you have a chance please check out this detailed post by another Cordova contributor with regards to this situation. With that said, I still stand by my original opinion that this should not be merged in. I agree with you that this is a trivial change, but it would be encouraging behavior that would likely result in peoples apps being rejected by Apple.  | 
    
| 
           I understand your concern @surajpindoria I think we're save with our app because of the way we add some functionality that is not available in the web variant, but i share your concern. I think it's a bit far fetched to say that this PR will lead people to the dark side of empty wrapper apps, but i also think the're more important things in the world than this little feature. We spent more time talking about it now than it takes a dev to add the feature to his own codebase if he has the need for this ;-) So Let's close this one. Thanks for your input!  | 
    
Platforms affected
ios
What does this PR do?
Adds the option on ios to enable or disable the close button in the toolbar. I needed this for an app that should not display a close button but should show the toolbar because of the previous/next navigational buttons.
What testing has been done on this change?
Run automated tests as outlined here for platform ios
Checklist