The IASLoader is a “starter” sketch / app which connects your device to IOTAppStory.com You will have to upload this by serial to every new device you want to use with our service. After this initial upload. Serial cables will be a thing off the past and future uploads will go “over the air”
From library v2.1.0 on we need to select at least 64Kb of SPIFFS for storing certificates.
For the ESP8266 you can find these settings under Tools > Flash Size
For the ESP32 you can find these settings under Tools > Partition Scheme: Make sure to select a scheme that supports both OTA & SPIFFS.
After double checking your board & flash size settings, compile and upload the sketch to your device. You do NOT need to compile or upload a SPIFFS image.
From 2.1.0-RC3 on your devices need the iotappstory.com root certificate to communicate with our server. So while still in config head over to the certificate page and press the "Get IAS root cert." button. (you can also use this page to store other certificates used by your sketch.
3rd party cookies
Depending on your browsers settings you might need to enable 3rd party cookies. You are visiting your device on a local ip address. And when logging into your account at IOTAppStory we set a cookie as part of logging in. From your browsers perspective this cookie is set by a third party: iotappstory.com
Library 2.1.0 has some built in checks to warn you about this. 2.0.X does not.