Skip to content

Commit

Permalink
Update lib information
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosinigaglia committed Dec 11, 2024
1 parent 8638b4c commit 28a008a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 23 deletions.
22 changes: 11 additions & 11 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
colorator (1.1.0)
concurrent-ruby (1.2.2)
em-websocket (0.5.3)
Expand All @@ -11,12 +11,12 @@ GEM
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.25.5-arm64-darwin)
google-protobuf (3.25.5-x86_64-linux)
google-protobuf (3.23.4-arm64-darwin)
google-protobuf (3.23.4-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand Down Expand Up @@ -62,19 +62,19 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.3.9)
rouge (4.2.0)
rouge (3.30.0)
safe_yaml (1.0.5)
sass-embedded (1.69.6-arm64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.69.6-x86_64-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.58.3)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.2)
webrick (1.9.1)

PLATFORMS
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down
18 changes: 11 additions & 7 deletions docs/_includes/nav_footer_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@
</label>
</div>
<script>
const savedTheme = localStorage.getItem('theme');
if (savedTheme) {
jtd.setTheme(savedTheme);
document.getElementById('theme-switch').checked = savedTheme === 'light';
}

document
.getElementById("theme-switch")
.addEventListener("change", function (event) {
if (event.target.checked) {
jtd.setTheme("light");
} else {
jtd.setTheme("dark");
}
.getElementById('theme-switch')
.addEventListener('change', function (event) {
const newTheme = event.target.checked ? "light" : "dark";
jtd.setTheme(newTheme);
localStorage.setItem('theme', newTheme);
});
</script>
Binary file added docs/favicon.ico
Binary file not shown.
11 changes: 6 additions & 5 deletions docs/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ The library is a simple connection with the OS APIs, the BLE stack should be sta

## Requirements

RN 0.60+
RN 0.76+ only the new architecture is supported

RN 0.40-0.59 supported until 6.7.X
RN 0.30-0.39 supported until 2.4.3
RN 0.60-0.75 supported until 11.5.X
RN 0.40-0.59 supported until 6.7.X
RN 0.30-0.39 supported until 2.4.3

## Supported Platforms

- iOS 10+
- Android (API 19+)
- iOS 15.1+
- Android (API 23+)

0 comments on commit 28a008a

Please sign in to comment.