Skip to content

Commit d997bf3

Browse files
committed
docs: add warning about androidx.window version and expand WebView information
1 parent a187a5f commit d997bf3

2 files changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ An Capacitor library that creates floating bubbles on top of the screen
2222
npm install capacitor-floating-bubble
2323
npx cap sync
2424
```
25+
# ⚠️ WARNING⚠️
26+
27+
If necessary, overwrite the androidx.window version
28+
`your-app/android/app/build.gradle`
29+
```
30+
configurations.all {
31+
resolutionStrategy.eachDependency { details ->
32+
if (details.requested.group == 'androidx.window') {
33+
details.useVersion '1.1.0'
34+
details.because 'capacitor-floating-bubble is not compatible with 1.4.0'
35+
}
36+
}
37+
}
38+
```
2539

2640
## Configuration
2741

@@ -44,11 +58,16 @@ In `capacitor.config.json`
4458
}
4559
}
4660
```
47-
### Expand Floating Bubble WebView
61+
62+
### ⚠️ Expand Floating Bubble WebView ⚠️
4863

4964
File: `bubbleWebView.html`
50-
Look on example-app
5165

66+
Look at example-app
67+
68+
https://github.com/TomHamster/capacitor-floating-bubble/blob/main/example-app/src/public/bubbleWebView.html
69+
70+
and serve file from the main path of app`` assetsInclude: ['public/**'],``
5271
## FloatingBubblePlugin API
5372

5473
<docgen-index>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "capacitor-floating-bubble",
3-
"version": "0.0.1-alpha.2",
3+
"version": "0.0.1-alpha.3",
44
"description": "An Capacitor library that creates floating bubbles on top of the screen",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)