I can’t for the life of me remember how I got it to learn the codes but I don’t think it was through the normal Broadlink app. Have you tried anything from this page:
https://community.home-assistant.io/t/broadlink-manager-nicer-way-to-learn-and-send-ir-rf-commands/58770