1, your domestic application must be made public (or authorized) before your friend applies abroad, otherwise once the foreign application is made public, your domestic application will not be novel and will not be authorized. Even if the utility model is authorized, it may be declared invalid without substantive examination.
You must ensure that no one knows that the technical scheme of the patent your friend applied for abroad comes from you, otherwise your patent may be declared invalid according to the first paragraph of Article 20 of the Patent Law.
I suggest you apply for PCT in China National Intellectual Property Administration, and then enter the country you want to apply for.