Skip to content

Conversation

@z123k5
Copy link

@z123k5 z123k5 commented Mar 17, 2025

getMediaList retrieve photos and videos from system gallery by MediaStore class.

  • support cursor from startAt to startAt + limit.
  • support the former query args: mediaType, includeDetails
  • thumbnail uri implemented via FileProvider using a tempfile to content uri

getMedia retrieve brief media info.

  • get the absolute path of media
  • get baseColor of photo media using palette, (currently not implemented for video)

requestPermissions

  • OK

checkPermissions

  • OK

example Demo passed for no any change in example.

  • Having changed MainActivity for CapacitorBridge loading the plugin class
  • Maybe there is a server ip issue in example/capacitor.config.ts/:8 server url, I set it in commented. capacitor think it defaults to localhost

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