Skip to content
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

fix(ios): implement statusTap for iOS 13 #2376

Merged
merged 3 commits into from
Mar 3, 2020

Conversation

jcesarmobile
Copy link
Member

@jcesarmobile jcesarmobile commented Jan 27, 2020

use swizzling to implement statusTap for iOS 13

closes #2109

@jcesarmobile jcesarmobile added the needs discussion decisions must be made before working on it label Feb 5, 2020
@jcesarmobile jcesarmobile removed the needs discussion decisions must be made before working on it label Mar 3, 2020
@jcesarmobile jcesarmobile changed the title fix(ios): implement statusTap for iOS 13 (do not merge) fix(ios): implement statusTap for iOS 13 Mar 3, 2020
@jcesarmobile jcesarmobile merged commit 7cb77c8 into ionic-team:master Mar 3, 2020
@jcesarmobile jcesarmobile deleted the statusbar-fix-swizzle branch March 3, 2020 13:54
});
}

-(void)nofity_handleTapAction:(id)arg1 {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a typo or intentionally spelled wrong?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@Proper-Job
Copy link

Isn't handleTapAction: a private API?
Don't we run a risk of Apple rejecting capacitor based apps because of this?

@jcesarmobile
Copy link
Member Author

We are technically not using it, just listening for its invocation. We have used similar approaches in different Cordova plugins and Capacitor over the years to workaround other iOS bugs without problems.

But if Apple ever rejects or warns about it, we would remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

statusTap event not working on iOS 13
2 participants