Implement push notification with dependency injection.