retrieve version code and registration id