Magnetometer and CLheading function are no longer available on AVP, any alternative method to detect the heading data?

Several applications need the device heading data, however, the AVP no longer support the CLheading functions because there is no magnetometer, are there any method or algorithm can provide the heading data?

Magnetometer and CLheading function are no longer available on AVP, any alternative method to detect the heading data?
 
 
Q