A little shim for anyone who wants to use GetAPIVersion() until it is fixed:
Lua Code:
if(GetAPIVersion() == 100013 and ACTIVITY_TRACKER ~= nil) then
function GetAPIVersion() return 100014 end
end
It won't help with the meta file variable replacement, but at least GetAPIVersion is usable with it.