pezi / dart_periphery

dart_periphery is a Dart port of the native c-periphery library
BSD 3-Clause "New" or "Revised" License
36 stars 9 forks source link

docs: Fix typo s/libray/library/ #19

Closed cpswan closed 1 year ago

cpswan commented 1 year ago

Spotted this typo whilst I was trying to figure out why libperiphery_arm.so wasn't being found in the pub cache.

There's also #18, but that's not as trivial to fix.

pezi commented 1 year ago

Thanks for your submission. The typo in the API is corrected, wrong method useSharedLibray is deprecated. Finding the .so-files in the pub-cache fails due an internal change of the file layout since my last tests a year ago. The code for traversing the pub-cache was a hack found in the internet. The next version will save the correct lib in the system temp directory decoding the binary from a base64 string. This will also work for a compiled app. The new version will be released in the next days.