Skip to content

[Bug]: SteamUser.kickPlayingSession onlyStopGame param does not work #354

@utkarshdalal

Description

@utkarshdalal

Describe the bug

When I call kickPlayingSession(onlyStopGame=true), it disconnects the other Steam session the same way as if onlyStopGame=false.

I expect it to just close the game and not disconnect the entire session.

To Reproduce

  1. Log in to Steam and start a game on one device
  2. Call kickPlayingSession(true) in JavaSteam
  3. The session from 1 will fully disconnect and require you to log in to Steam again

Expected behavior

The session should stay active, and only the running game should stop

JavaSteam Version

1.6.1-snapshot

Platform Version

Android

JVM Version

17

Additional Information

It's been merged in to GameNative now. You can pull master, run the app while having a Steam game running elsewhere. If you then launch a game via GameNative, it prompts you to close the other game, and if you click continue, it calls kickPlayingSession(onlyStopGame=true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions