There's no such thing as version 5.27.
And why you can't process null?
@Anton
Sorry the version is 5.6.
Is the null a proper value when offsite?
Yes, null is expected.
@Anton
Can I make this to return a certain value when offsite instead of null?
You can. The source code is open, so you can make any customization you want.
I meant from inside the application.
Can you please tell me when it was the last version that geofenceid was not sent as null?
I had Traccar server 4.12 installed and the geofenceIds I was getting when device was onsite was the ID of the geofence and when offsite I was getting an empty value.
I have upgraded to version 5.27 and now I am again getting the ID of the geofence but now when the device is offsite I am getting a null value which I cannot process this in my code.
Is this a proper behavior?