Verify the SDK Installation
Steps to confirm that the Blueshift SDK is correctly installed and initialized in your app.
After installing and initializing the Blueshift Android SDK, verify that it is working correctly before proceeding.
To confirm successful setup during development, you can enable verbose logging by adding the following line inside your custom Application class (for example, MyApplication) before calling Blueshift.getInstance(this).initialize(configuration):
BlueshiftLogger.setLogLevel(BlueshiftLogger.VERBOSE);
BlueshiftLogger.setLogLevel(BlueshiftLogger.VERBOSE)
Verify initialization in Logcat
Follow these steps to confirm that the SDK has been initialized successfully:
- Run your app on a device or emulator from Android Studio by clicking the green ▶️ Run button.
- Open Logcat in Android Studio from the bottom panel, or go to View > Tool Windows > Logcat.
- In the Logcat search bar, type Blueshift to filter the logs. Look for any log entry with the tag Blueshift.
The presence of any SDK log—even a warning—confirms that it has been initialized correctly. - Confirm that your app's main screen appears (for example, a "Hello Android" screen).
If you see these log messages and your app launches normally, the Blueshift SDK has been successfully initialized.
Updated about 3 hours ago