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

(Feature request) New API method: isMobile() #733

Open
FliegendeWurst opened this issue Dec 9, 2024 · 0 comments
Open

(Feature request) New API method: isMobile() #733

FliegendeWurst opened this issue Dec 9, 2024 · 0 comments

Comments

@FliegendeWurst
Copy link

Describe feature

Now that there are two different implementations of the scripting API (desktop app / my Android app), it would be nice if script authors could detect this easily. (The mobile API might get some additional stuff.) Therefore I propose a simple API method: isMobile(). It returns false for the desktop and web app, and returns true for the mobile app.

Additional Information

No response

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

No branches or pull requests

1 participant