packages/okam-core/src/na/platform.js
function initPlatformInfo(callback) {
    api.getSystemInfo({
        success(info) {
            callback && callback(null, info);
        },
        fail(err) {
            callback && callback(err);
        }
    });
}
function initPlatformInfo(callback) {
    api.getSystemInfo({
        success(info) {
            callback && callback(null, info);
        },
        fail(err) {
            callback && callback(err);
        }
    });
}
Init platform info

@inner
@param {Function} callback the callback to execute when platform info get done