PSA to the iPad Smart Keyboard users: Apple will replace your Smart Keyboard for free if it stops working and is less than 4 years old!
My Smart Keyboard (which I bought in 2017) completely stopped working recently; my iPad Pro (Gen 2, 12.9”) wouldn’t even recognise that it was connected. Over the past few months, I would get the “Accessory not supported” message on my iPad before it completely stopped. I made an appointment at a store *hoping* they could give me some advice before I completely gave up on my iPad as a note taking device (I can not afford to buy a new keyboard). The employee took my iPad, checked with a colleague, and came back to tell me they could replace the keyboard for free under a repair program! Apparently it’s a known issue for Apple.
He said the criteria is that it must be within 4 years of the purchase date, and not have any visible signs of abuse. I’ve attached the notes [in a screenshot here](https://imgur.com/a/RWAlVvT). I did have general wear and tear but the buttons and connector pins were not damaged.
So yeah, if your keyboard is starting to act up or has stopped working completely and you don’t know why, chances are you can take it to a store and they’ll replace it for free.