so correct me if I am wrong every user has a token string stored in mdl_external_tokens.
after accessing the custom app in a device a new userdeviceid got generated in mdl_message_airnotifier_devices but the structure of this table doesn't have a a key to the relevant token !
I want to see where and how the relationship token-device is build ?
I think that's one of my problems is difficulties reading php codes thanks in advance