pages/system_admin_pages.py
def validate_android_credentials(credentials):
    """Ensure basic formatting and field validation for android firebase credential json file uploads
    the credentials argument should contain a decoded string of such a file"""
    try:
        json_obj = json.dumps(credentials)
        # keys are inconsistent in presence, but these should be present in all.  (one is structure,
        # one is a critical data point.)
        if "project_info" not in json_obj or "project_id" not in json_obj:
            return False
    except Exception:
        return False
    return True
Ensure basic formatting and field validation for android firebase credential json file uploads
    the credentials argument should contain a decoded string of such a file
Ensure basic formatting and field validation for android firebase credential json file uploads
the credentials argument should contain a decoded string of such a file
Ensure basic formatting and field validation for android firebase credential json file uploads the credentials argument should contain a decoded string of such a file
def validate_android_credentials(credentials):
    try:
        json_obj = json.dumps(credentials)
        if "project_info" not in json_obj or "project_id" not in json_obj:
            return False
    except Exception:
        return False
    return True
def validate_android_credentials ( credentials ) : try : json_obj = json . dumps ( credentials ) if "project_info" not in json_obj or "project_id" not in json_obj : return False except Exception : return False return True
Ensure basic formatting and field validation for android firebase credential json file uploads
the credentials argument should contain a decoded string of such a file
Ensure basic formatting and field validation for android firebase credential json file uploads the credentials argument should contain a decoded string of such a file
"""Ensure basic formatting and field validation for android firebase credential json file uploads
    the credentials argument should contain a decoded string of such a file""" # keys are inconsistent in presence, but these should be present in all.  (one is structure, # one is a critical data point.)
credentials