Hi Donfred
Thanks for the input, but using #IgnoreWarning will not provide a satisfactory result i.e.
As it will remove ALL un-used library compiler warnings.
I found a workaround by including this code somewhere in the project.
Sub Class_Global
Private fa as FirebaseAnalytics
'|
'More code as required.
End Sub
Public Sub Initialize
fa.Initialize ' Inserted to remove compiler warning.
'|
'More code as required.
End Sub
I am not great on how B4A works under the hood, but my C# experience says this just creates a new instance of FirebaseAnalytics (only if the class is used) and the garbage collector will remove it when the instance goes out of scope.
So I don't see any harm, please advise of otherwise - or obviously if someone has a more elegant solution.
Kind regards
Dave