Abstract:
An apparatus and method in an electronic device is provided. The apparatus includes a memory, a communication interface and a processor coupled to the memory, and may implement the method, including: executing, by a processor, an application including a plurality of pages displayable by the electronic device, the plurality of pages including first and second pages corresponding respectively to first and second identifiers, identifying a target page to be displayed on a display from among the first and second pages, transmitting a target identifier corresponding to the target page to an external electronic device via a network, receiving notification information corresponding to the target identifier from the external electronic device, and displaying at least part of the notification information and the target page.
Abstract:
The present disclosure includes a method for providing a push notification and an electronic device thereof. The electronic device may include a display; a communication circuit configured to receive a push notification from a server; and a processor coupled with the display and the communication circuit. The processor is configured to obtain context information of the electronic device based on a specified exposure time of the push notification; determine whether a situation where the push notification is enabled to be output is detected, based on the context information; and display the push notification via the display when the situation where the push notification is enabled to be output is detected.