Skip to content

Update toggleFlashlight to flashlight in readme#3

Open
dansoppelsa wants to merge 1 commit intoNativePHP:mainfrom
dansoppelsa:main
Open

Update toggleFlashlight to flashlight in readme#3
dansoppelsa wants to merge 1 commit intoNativePHP:mainfrom
dansoppelsa:main

Conversation

@dansoppelsa
Copy link
Copy Markdown

@dansoppelsa dansoppelsa commented Apr 13, 2026

This pull request updates the readme documentation of the toggleFlashlight method to its current name - flashlight.

@dansoppelsa
Copy link
Copy Markdown
Author

I was not certain if any other references to toggleFlashlight should be updated in this repo? I noticed there are references in DeviceFunctions.[kt|kotlin] and nativephp.json.

I believe the doc block header on the Native\Mobile\Facades\Device facade needs to be updated as well in the mobile-air repo to reflect the name change of toggleFlashlight --> flashlight. I would be happy to open a PR there as well if that would be helpful :)

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

Successfully merging this pull request may close these issues.

1 participant