Another way around this would be to link to your profile in one of the web clients such as Primal or Snort. It will load in the web client but from there you can copy/paste the npub to use anywhere. For example:
https://primal.net/profile/npub10y3yydkfktfz9qddtdd5eju5hjvr733g5q5uak8f7lq2ltaj3w9q0w7dn3