X Tutup
Skip to content

Gdx.net.openURI not working on iOS 18.1 Simulator #7509

@keesvandieren

Description

@keesvandieren

Please ensure you have given all the following requested information in your report.

Issue details

Gdx.net.openURI is expected to open https url. Is no longer working on iOS 18.1

Reproduction steps/code

Use iOS 18.1 similator, and open an url like this:

        Gdx.net.openURI("https://libgdx.com")

Workaround

There is a workaround which works:

        UIApplication.getSharedApplication().openURL(NSURL("https://libgdx.com"), UIApplicationOpenURLOptions()) {}

Proposed fix

Update IOSNet to use the new openURL method.

Version of libGDX and/or relevant dependencies

  • libgdx version: 1.13.0 (also 1.12.1)
  • Robovm version: 2.3.22

It works on iOS 17, it is not working on iOS 18.1

Stacktrace

// N/a

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup