76
Views
15
Comments
[Native Geocoder Plugin] Plugin is not compatible with the "Swift Language Version"
Question
native-geocoder-plugin
Mobile icon
Forge asset by Henrique Batista
Application Type
Mobile
Platform Version
11.13.2 (Build 32392)


Hi Henrique,

It seems that the module is not compatible with the latest MABS version (8.0). Also manually setting it to a lower MABS versions (7.2 and 7.1) is not working unfortunatly.

When I remove the Native Geocoder plugin from my application I can build the application with MABS 8.0

 Is this anything you could fix in a new version?

Thanks,

Bart

2021-04-12 11-47-04
Bart Nooijens

Is anyone else encountering this problem? I have installed the latest version of this plugin.

2021-04-12 11-47-04
Bart Nooijens

Any updates on this problem?

2021-04-12 11-47-04
Bart Nooijens

Anyone else faces this issue? @Henrique Batista any chance you could update this forge component?

2017-07-05 22-17-18
Henrique Batista
Staff

Hi @Bart Nooijens,

Unfortunately I'm not a native coder, I've built this component based on this git repository and it doesn't seem to have any updates lately.
On my side I've tested it and it's generating and working with MABS 8.0 (on android) so its probably a conflict with another plugin on your application.
Do you know which one?

2021-04-12 11-47-04
Bart Nooijens

Hi Henrique,

Thanks for your reply! I also created a new mobile application and only did reference the Native Geocoder plugin and it is generating and working. 

I never thought of the conflicting part because when I did delete the Native Geocoder plugin the application did generate successfully and therefore I was thinking this component was causing the problem. At the moment I do not know which application it is conflicting with. I have to do some testing on my end.


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Bart, just letting you know you're not talking into the void :). We're trying to find someone who could help here.

2021-04-12 11-47-04
Bart Nooijens

Hi Kilian,

Thanks for letting me know. I did already look into the code myself but I am afraid my knowledge of native coding is not good enough to fix this problem. Hope there is someone to fix this problem.

UserImage.jpg
Carlos Corrêa

Based in a previous experience I could say that this problem is because the app has plugins using different versions of swift, but I am not 100% sure.
Something like: Plugin A using swift 5 and Plugin B using swift 4.

2021-04-12 11-47-04
Bart Nooijens

Hi Carlos,

Yes, I think the problem has something to do with this. Let's wait if somebody is able to solve it.

2021-09-08 08-01-41
Lorena Sabou

Hi Bart,


My team managed to overcome this issue by following these steps:


1. Download https://www.outsystems.com/forge/component-overview/7208/swift-support-plugin

2. Import the "Reference" action from this component in your project 

3. Use the Reference client action anywhere in the project (for example after the login)

4. Add this in the Extensibility Configurations of your module:

{
         "preferences": {
                "ios": [
                         {
                         "name": "UseSwiftLanguageVersion",
                          "value": "5"
                         }
                 ]
                }
}

5. Regenerate the build

Hope it helps!

2021-04-12 11-47-04
Bart Nooijens

Hi Lorena,

Thanks for letting this know. For now we have removed this component but I will check this solution for sure in the near future!

2021-09-08 08-01-41
Lorena Sabou

Hi Bart,


Turns out our solution was not future proof.

When we tried to upgrade other plugins (in our case the Camera plugin), it would clash with the custom configs made for this plugin and we are stuck generating the app.


@Henrique Batista are there any plans in supporting this component moving further?


Kind regards,

Lorena

2021-04-12 11-47-04
Bart Nooijens

Hi Lorena,

Thanks for letting me know! In the end I did create a new solution using this API.

Best,

Bart

2021-09-08 08-01-41
Lorena Sabou

Hi Bert,


Have you used this forge component or made your own?


Thanks,

Lorena

2021-04-12 11-47-04
Bart Nooijens


I did create my own because in that component he is using a extension for some actions and for what I needed to do I could use the webservice only :-)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.