There is a tax treaty between Hong Kong and Canada to avoid double taxation, suggest you review that treaty document which helps to clarify which country you would be considered a resident. https://www.fin.gc.ca/treaties-conve...ngkong-eng.asp
Be mindful that Hong Kong income tax is based on whether you made those income while in Hong Kong. If you negotiated the work, performed the work all outside of Hong Kong, you shouldn't be subjected to Hong Kong income tax.