Almost every single company I've ever seen for 20+ years has open sourced their developer SDK examples. It literally makes no sense what so ever to do anything else.
This has nothing to do with what the OP was talking about which is open sourcing the core app.