Snapchat share with Ionic capacitor

I am trying to integrate the snapchat creative kit with Ionic & capacitor. I have used the web implementation provided in snapchat docs. On browser it is working fine but on real devices I am not able to see the snapchat share button working. Is there any additional configuration needed for the web implementation to work on real devices? Or should I implement the native code for both android/IOS? Really need help on this part. Thanks in advance!