Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Casting session is not being ended after the user kills the application  #128

Description

@chirag05k

SDK Version: google-cast-sdk (4.6.1)
iOS: 16.0

Expectation:

  • Once I kill the application the current ongoing session should be ended currently it continually playing the video

What I have tried:

  • Uses of end session:
    func applicationWillTerminate(_ application: UIApplication) {
             GCKCastContext.sharedInstance().discoveryManager.stopDiscovery()
             GCKCastContext.sharedInstance().sessionManager.endSession()
             GCKCastContext.sharedInstance().sessionManager.endSessionAndStopCasting(true)
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions