Skip to content

Commit d76e5c3

Browse files
authored
Correct library dependency name in metadata (#279)
The `depends` field of the library.properties metadata file can be used to provide a list of library dependencies that should be installed in addition during a Library Manager installation. The library names must match exactly to the `name` value in the dependency's library.properties metadata file, which is the unique identifier used by Library Manager. The name of the "Adafruit SleepyDog Library" is just like that, but an incorrect name "Adafruit_SleepyDog" was used instead. This resulted in the following: - Classic Arduino IDE: the incorrect name was ignored and the dependency not installed - Arduino IDE 2.x: installation of the ArduinoIoTCloud library fails silently - Arduino CLI: installation of the ArduinoIoTCloud library fails with "Error installing ArduinoIoTCloud: No valid dependencies solution found: dependency 'Adafruit_SleepyDog' is not available"
1 parent e02c284 commit d76e5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ category=Communication
88
url=https://github.com/arduino-libraries/ArduinoIoTCloud
99
architectures=mbed,samd,esp8266,mbed_nano,mbed_portenta
1010
includes=ArduinoIoTCloud.h
11-
depends=Arduino_ConnectionHandler,Arduino_DebugUtils,ArduinoMqttClient,ArduinoECCX08,RTCZero,Adafruit_SleepyDog
11+
depends=Arduino_ConnectionHandler,Arduino_DebugUtils,ArduinoMqttClient,ArduinoECCX08,RTCZero,Adafruit SleepyDog Library

0 commit comments

Comments
 (0)