We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb4372 commit 1a955c0Copy full SHA for 1a955c0
1 file changed
examples/demo/src/services/OneSignalApiService.ts
@@ -50,7 +50,7 @@ class OneSignalApiService {
50
contents = { en: 'This notification plays a custom sound' };
51
extra.ios_sound = 'vine_boom.wav';
52
extra.android_channel_id =
53
- ONESIGNAL_ANDROID_CHANNEL_ID ?? 'b3b015d9-c050-4042-8548-dcc34aa44aa4';
+ ONESIGNAL_ANDROID_CHANNEL_ID?.trim() || 'b3b015d9-c050-4042-8548-dcc34aa44aa4';
54
break;
55
default:
56
return false;
0 commit comments