Get the install referrer details using ionic 6

How to get the install referrer details using Ionic 6 on both platforms (Android and iOS). I’m working on ionic cordova.