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

Podcasts should communicate to web code #51

Open
rt4914 opened this issue Aug 12, 2022 · 0 comments
Open

Podcasts should communicate to web code #51

rt4914 opened this issue Aug 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@rt4914
Copy link

rt4914 commented Aug 12, 2022

Describe the bug
Currently we have sort of a bridge between web codebase and iOS-native code. This bridge helps us in controlling some very specific cases. For example:

  • if user plays a podcast, from the bridge we will get the information in iOS, and then iOS native code will play the podcast using notification manager instead of playing it in website-webview.
  • if user plays a video, the bridge passes the information to iOS, and then iOS native code will play the video in new full-screen activity.

Now currently for podcast the information can be sent from web-code to iOS native but we cannot send information from iOS native to web-code.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any podcast
  2. Play the podcast
  3. Once the podcast plays in iOS it will be visible in notifications section of the iOS os.
  4. Pause the podcast in notification.
  5. Notice that the app still shows pause icon in website.

Expected behavior
As soon as we pause the podcast in notification, the change should be reflected correctly in web-code base too.

Similar Issues

  • If we remove the podcast by clearing the notification, the website still shows as if the podcast is playing, the bottom podcast bar in website should get terminated.
@rt4914 rt4914 added the bug Something isn't working label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant