iOS Question Compatible modules

Radisk3

Member
Licensed User
Longtime User
Hello,

I'm doing modules that are compatible to Android and iOS.
However, I have instructions that will only be used on Android or iOS.
There are ways to do an if statements like this not to be error on iOS and the same for instructions in the iOS does not generate an error in Android?
B4X:
Sub Dados_Phone As String
   Dim PN As Phone
   Dim Aparelho As String
   Aparelho = Aparelho  & CRLF & _
       "Tipo: " & PN.GetPhoneType
   Aparelho = Aparelho  & CRLF & _
       "Fabricado: " & PN.Manufacturer
   Return Aparelho
End Sub
 
Top