Commit 7bcfe29
authored
Update publish (#4)
* Initial commit
* feat: add basic plugin functionality and example app
This commit introduces the core plugin code and sets up a basic example
app for testing.
The changes include:
- Creation of `src/definitions.ts` for plugin interfaces.
- Implementation of `src/index.ts` to register the plugin.
- Creation of `src/web.ts` for the web implementation.
- Addition of basic example app, configured to use the plugin.
- Other files to facilitate the build, and initial setup.
These additions provide a foundation for the plugin's functionality
and demonstrate how to integrate it within a Capacitor app.
The example app now includes a button that triggers the plugin's
`showBubble` method when clicked.
* feat: implement floating bubble and integrate webview
This commit introduces the floating bubble functionality with a webview.
It includes the following changes:
- Implemented a floating bubble service in Android.
- Added a new layout `expand_view.xml` for the expanded bubble view.
- Created `WebAppInterface.java` to handle communication between the webview and native code.
- Added `rounded_webview_bg.xml` for the webview's background.
- Modified the example app to include a button to trigger the bubble.
- Modified capacitor.config.json with base64 bubble image.
- Updated example.js with showBuble function call.
- Modified package.json to sync the project.
- Added `sendNativeEvent` to handle the javascript call event.
- Added `showAlert` function.
- Modified `index.html` with new buttons and event calls.
- Deleted old unused layout xml files.
* feat: implement Floating Bubble Plugin and Example App Updates
This commit introduces the core functionality of the floating bubble plugin and updates the example app to demonstrate its usage.
Key changes include:
- Implemented the `FloatingBubblePlugin` interface in `src/definitions.ts`
- Added the necessary Android service and related classes for managing the floating bubble.
- Created a basic example app view within the floating bubble (`bubbleWebView.html`).
- Updated the example app (JavaScript) to call `showBubble`, `closeBubble` and `sendToBubble` and receive messages.
- Updated the `README.md` file with API documentation.
- Fixed the Vite config to include the correct build assets.
This commit provides the initial working implementation of the floating bubble feature, allowing users to display a floating UI element.
* feat: add imageBase64 configuration option and update README
This commit introduces the `imageBase64` configuration option
for the floating bubble plugin. It also updates the README file
to provide more information about the available configuration options
and how to use them. Additionally, it removes some unused logs from
the code.
The `imageBase64` option allows users to specify an image
in base64 format to be displayed inside the bubble. The image
dimensions are expected to be 60x60 dpi.
Changes include:
- Added `imageBase64` config to `capacitor.config.json` example in README.
- Updated `FloatingBubblePlugin.java` to use the new config parameter.
- Removed log messages
* feat: update example app and documentation
This commit updates the example app and the README file to improve the user experience and provide better documentation.
The changes include:
- Updating the example app's title.
- Updating the example app's index.html to clarify plugin purpose.
- Updating the README file to include installation instructions, configuration details, and an API overview.
- Adding a demo GIF to showcase the plugin's functionality.
- Updating the README file to clearly state the supported platforms.
- Updating the README file's configuration documentation.
- Including a high-quality image base64 string to make the demo work.
* feat: Update project metadata and documentation
This commit updates the project metadata and documentation.
Specifically, it:
- Updates the project description in `package.json` and `README.md`.
- Updates the license in `package.json` to "Apache-2.0".
- Updates the repository URL and bug report URL to the correct repository.
- Adds a notice in `README.md` to give credit to Floating-Bubble-View.
* feat: add release workflow for npm publishing
This commit introduces a new GitHub Actions workflow (`release.yml`) to automate the publishing of the capacitor-floating-bubble package to npm. The workflow triggers on tag pushes matching the pattern `v*` (e.g., v1.0.0).
The workflow includes steps to:
- Checkout the repository.
- Set up Node.js.
- Install dependencies.
- Build the plugin.
- Publish the package to npm using the provided NPM_TOKEN secret for authentication.
* feat: add release workflow for npm publishing
This commit introduces a new GitHub Actions workflow (`release.yml`) to automate the publishing of the capacitor-floating-bubble package to npm. The workflow triggers on tag pushes matching the pattern `v*` (e.g., v1.0.0).
The workflow includes steps to:
- Checkout the repository.
- Set up Node.js.
- Install dependencies.
- Build the plugin.
- Publish the package to npm using the provided NPM_TOKEN secret for authentication.
* Release v0.0.1-alpha
* Relase alpha 0.0.1
* feat: update publish yaml1 parent 2e14d27 commit 7bcfe29
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 3 | | |
8 | 4 | | |
9 | | - | |
10 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
0 commit comments