Solved

How to save debug logs to Firebase

  • 9 December 2021
  • 1 reply
  • 119 views

Badge +2

How can i Revenue cat  Debug Log into any sheet or firebase.

 

one of my user facing issue with subscription. now i want check revenue-cat log. and i don’t have any option to debug that case on my machine because user is not providing his credential.so i thinking to add debug log into bulid and provide that bulid to user. so i can read or check those debug log

icon

Best answer by cody 14 December 2021, 14:08

View original

1 reply

Userlevel 6
Badge +8

Hey @Doug McArthur! I’m going to copy my message from your ticket here to help anyone else that might be looking for this, too:

By default, our logs will only print to the device if they are enabled. If you're not able to reproduce the issue on your own device, you can set up a custom log handler to send logs anywhere you need. You can see this method in our SDK here: https://github.com/RevenueCat/purchases-ios/blob/877e8d6f00b4eb618415d3da90fac6eb06bad866/Purchases/Public/Purchases.swift#L152

Reply