Currently, we can't track affiliate commissions for purchases that happen through the Udemy Mobile App, nor do we manage those payments since they are all processed and handled by Apple/Google.
We do however, attribute affiliates for sales that happen on the mobile version of our site. If a user clicks your affiliate link using a mobile browser and purchases a course within the cookie window for that course, you'll earn a commission.