Dont throw error on empty data
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
@@ -94,8 +94,8 @@ public class MainActivity extends ReactActivity
|
||||
|
||||
@Override
|
||||
public void onNewIntent(final Intent intent) {
|
||||
if (intent.getData().getScheme().startsWith("app-settings")) {
|
||||
startActivity(createNotificationSettingsIntent());
|
||||
if (intent.getDataString() != null && intent.getData().getScheme().startsWith("app-settings")) {
|
||||
startActivity(createNotificationSettingsIntent());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user