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

New extension api #255

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
Open

New extension api #255

wants to merge 12 commits into from

Conversation

appdevelpo
Copy link
Member

@appdevelpo appdevelpo commented Apr 21, 2024

Summary

Add @tags and @api
Change method of using css selector
Add rawRequest,setCookie,listCookies,snackbar,getData,setData
Removing class
Tested device: Linux(JavaScript Core) , Android (quick js)

details

  • @tags: just like extension name itself, It can be search it's @tags . Add example repo link search english or yugenanime will have the same search result
  • @api : current pr version is 2, if extension does not add @api inside the extension, the api version will be set at 1.New one will not affect old one which means different versions and coexist in the app.
  • snackbar: showing snakebar information in the app
  • rawRequest :Get Response header and will not automatically add base url .Plus, it will return response headers with this structure: {data:,headers:}
  • the extension I used for debugging ,
  • setData and getData : extensions can save and load data inside the app

@appdevelpo appdevelpo linked an issue Apr 21, 2024 that may be closed by this pull request
@appdevelpo appdevelpo requested a review from MiaoMint May 4, 2024 04:05
`convert` use dart:convert which can convert between utf8 base64 ascii latin1
some widget issue when reconstruct image.
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.

[WIP] Extension API version 2 update
1 participant