Skip to content

Commit aba6738

Browse files
Applied suggested review changes
1 parent 9252be8 commit aba6738

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Ports/iOSPort/nativeSources/CodenameOne_GLAppDelegate.m

+5
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,11 @@ -(void)application:(UIApplication*)application didChangeStatusBarFrame:(CGRect)o
594594

595595
- (void)application:(UIApplication*)application didReceiveLocalNotification:(UILocalNotification*)notification {
596596
CN1Log(@"Received local notification while running: %@", notification);
597+
if( [notification.userInfo valueForKey:@"__ios_id__"] != NULL)
598+
{
599+
NSString* alertValue = [notification.userInfo valueForKey:@"__ios_id__"];
600+
com_codename1_impl_ios_IOSImplementation_localNotificationReceived___java_lang_String(CN1_THREAD_GET_STATE_PASS_ARG fromNSString(CN1_THREAD_GET_STATE_PASS_ARG alertValue));
601+
}
597602
}
598603

599604
#ifndef CN1_USE_ARC

0 commit comments

Comments
 (0)