Testing referrals

For this you need two devices. Let’s call them Sender and Receiver. If you have your app installed already, please delete it from both devices. Note that the events will not trigger if you use the same device for both Sender and Receiver.

Sender Receiver
Follow the Quickstart guide and build the app to this device.
Run the app and share a link to Receiver. Open the link and press “Play now” to simulate that you’re going to download the app.
Add Megacool.sharedMegacool?.resetIdentity() before Megacool.start(). This will reset the device identity, so it acts as a new device every time the app starts. Remember to remove this after you’re done testing.
Build and run the app. Now this device will receive the MCLReceivedShareOpenedEvent event with event.isFirstSession == YES and generate a new install.
Press the home button and re-open the app to instantly receive the MCLSentShareOpenedEvent event, like shown in the Quickstart guide.