def init_app():
    """init sdk app"""
    app_id = 'your appId'
    app_secret = 'your appSecret'
    push_admin.initialize_app(app_id, app_secret)
Пример #2
0
def init_app():
    """init sdk app"""
    app_id = push_env.app_id
    app_secret = push_env.app_secret
    push_admin.initialize_app(app_id, app_secret)