Sure, although the IAP issue isn't related to the crashing I don't think.
I was just curious if the problem I am having could be to do with using an older version of the billing library.
I'm sure we'd determined it was relating to missing files, which you thought was down to a different build procedure (or something, I forget) due to the updated API.
Anyway, Lee emailed me about the release. I tested an AAB through internal testing, and an APK by installing it straight on to a device. Neither instance ran long enough to display the loading screen.
The actual purchasing code is listed in the snippet above.
Then this is the code to set up the IAP.
// Start with the app title
title$=GetSettingString("apptitle")
InAppPurchaseSetTitle(title$)
// Next set product details
productCount=GetSettingInt("iapproductcount")
// Loops through the products
For a=1 to productCount
// Gets the properties from the settings file
ProductID$=GetSettingString("iapproductid"+str(a))
productType=GetSettingInt("iapproducttype"+str(a))
// And sets the product details
InAppPurchaseAddProductID(productID$,productType)
Next a
`
// Lastly, call the setup command
InAppPurchaseSetup()