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): fire appStateChange in incoming calls #2282

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

kajinka13
Copy link
Contributor

I changed the monitoring event because with the previous one it is not possible to intercept the action of entry on the task manager or the arrival of telephone calls, with this event instead it is possible to have the various events (for the purposes I have undertaken with the above plugin is essential to make this change).

I changed the monitoring event because with the previous one it is not possible to intercept the action of entry on the task manager or the arrival of telephone calls, with this event instead it is possible to have the various events (for the purposes I have undertaken with the above plugin is essential to make this change).
Copy link

@Sgr57 Sgr57 left a comment

Choose a reason for hiding this comment

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

It should trigger the (isActive 'false') state in more cases

@jcesarmobile jcesarmobile changed the title intercept call incoming fix(ios): fire appStateChange in willResignActive instead of in didEnterBackground Jan 16, 2020
@jcesarmobile jcesarmobile changed the title fix(ios): fire appStateChange in willResignActive instead of in didEnterBackground fix(ios): fire appStateChange in incoming calls Jan 16, 2020
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@jcesarmobile jcesarmobile merged commit 7fd0c7c into ionic-team:master Jan 16, 2020
@313hemant313
Copy link

313hemant313 commented Feb 4, 2021

How to detect incoming call and call has ended if the ionic app is running in background ?

Currently in my music app if user picks up the incoming call, music doesnt pause or stops.

Please help me resolve this issue.

Had no luck here: #3992

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.

5 participants