customerio / cio-sdk-tools

A self service tool to run diagnostics on your mobile SDK installation
MIT License
2 stars 0 forks source link

Missing method in AppDelegate for tracking push "opened" metrics #28

Closed sheeroo closed 3 months ago

sheeroo commented 4 months ago

User Story

As a customer I want to know if I have properly configured the SDK so that I can better troubleshoot any issues.

Acceptance Criteria:

Technical notes:

Today, the self-service tool will scan an AppDelegate file and look for source code that indicates that a customer has followed all of the SDK integration steps required for opened push metrics. If the tool does not find this source code in the AppDelegate, then the tool throws an error in the output.

Since iOS version 2.11, the automatic push click handling feature is available that no longer requires the code that the self-service tool looks for in the AppDelegate.

Acceptance criteria

Scope?

There are a few different ways that this issue can be resolved.

levibostian commented 4 months ago

Thanks for bringing up this issue @sheeroo. Sorry to cause you confusion by this error.

This error that you have received on your app and our included sample app was caused by the recent 2.11 release in the native iOS SDK. As you can see in our upgrade docs, code that the doctor tool is checking in the AppDelegate for is no longer required 🎊!

We are aware of this error message and are in the process of updating the tool to fix that. Unfortunately I am not able to provide a release date for this fix.

In the mean time, I suggest following our latest push setup docs and do not be concerned about this particular error message from the doctor tool.

Thanks again for sending us this question!