# Become a beta tester for farmOS Field Kit on iOS (et al)

**URL:** <https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58>\
**Category:** Field Kit\
**Created:** [July 22, 2019, 10:42pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58 "2019-07-22T22:42:29Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 13, 2020, 4:50pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/21 "2020-01-13T16:50:33Z")

</div>

Hi @scissors, according to Apple, Testflight only requires iOS 8 or higher. Are you unable to install Testflight?

---

<div class="post-metadata">

**Author:** ![scissors](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/scissors/32/68_2.png) [@scissors](https://farmos.discourse.group/u/scissors)\
**Post date:** [January 14, 2020, 12:12am UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/22 "2020-01-14T00:12:04Z")

</div>

Yes, but the Field Kit app asks for a new version of iOS.

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 14, 2020, 3:36am UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/23 "2020-01-14T03:36:16Z")

</div>

> [@scissors](#):
>
> Field Kit app asks for a new version of iOS.

Ah, I see. Hm, I’m not sure there’s much we can do there. Our build process is dependent on a third-party library (Cordova) which handles the iOS side of things. I don’t know if there’s anything we can do to target older versions of iOS. 🙁

---

<div class="post-metadata">

**Author:** ![scissors](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/scissors/32/68_2.png) [@scissors](https://farmos.discourse.group/u/scissors)\
**Post date:** [January 15, 2020, 3:07am UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/24 "2020-01-15T03:07:16Z")

</div>

Ah well, thanks for trying!  
Let me know if this changes at all.

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 15, 2020, 4:43pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/25 "2020-01-15T16:43:41Z")

</div>

Will do. Next time I’m packaging a release I’ll look into the Cordova docs and see if there are some options for targeting older OS’s that I might have overlooked before. I definitely foresee you not being the only one with an older device they want to put to use with Field Kit.

---

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://farmos.discourse.group/u/Lars)\
**Post date:** [January 18, 2020, 2:56pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/26 "2020-01-18T14:56:07Z")

</div>

Hi I am running my farmOS on my local server. That means it has no https cert fro the local ip.  
I have problems to connect my server with the Android app (probably because the farmOS is https by default). Is there any option I could log in with a loacl IP without https?

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 18, 2020, 4:54pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/27 "2020-01-18T16:54:10Z")

</div>

Hi @Lars, sorry to hear you’re having trouble. I’ll try to look back into it, but I believe both web and Android/iOS versions of the app restrict us from connecting to plain http servers without SSL certificates. This is a security measure built in to web browsers and the Cordova platform, respectively, that restricts what’s called “mixed content” requests (ie, http to https or vice versa). I wonder if a self-signed cert might do the trick? Perhaps @mstenta has some suggestions.

---

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://farmos.discourse.group/u/Lars)\
**Post date:** [January 18, 2020, 9:44pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/28 "2020-01-18T21:44:44Z")

</div>

Hi @jgaehring, thank you very much for your reply. I can access farmOS on the home network or VPN (from outside) using Chrome using http. For other applications I have a https cert on the server but this is not used (cant be used?) for internal IPs. For my setup it would be very useful to capture data in the field and sync at home (saving mobile data). This would be exactly what the mobile app appears to be.

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 18, 2020, 10:11pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/29 "2020-01-18T22:11:47Z")

</div>

So are you just running your server on `localhost` and connecting over LAN to the device’s numeric IP address (something like [http://192.168.1.5](http://192.168.1.5))?

I think it should be possible to serve that with a self-signed cert. Let’s Encrypt has a good article on it here: [https://letsencrypt.org/docs/certificates-for-localhost/](https://letsencrypt.org/docs/certificates-for-localhost/). I haven’t tried it out though. Perhaps someone else can chime in if they’ve had experience with this.

---

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://farmos.discourse.group/u/Lars)\
**Post date:** [January 18, 2020, 10:31pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/30 "2020-01-18T22:31:16Z")

</div>

Yes. I running it on a fixed local IP and connect via LAN or VPN.  
From the link (thank you for pointing that out) it looks like it would not need a SSL cert.  
" Fortunately, modern browsers [consider](https://bugs.chromium.org/p/chromium/issues/detail?id=607878) `http://127.0.0.1:8000/` to be a [“potentially trustworthy”](https://www.w3.org/TR/secure-contexts/#is-origin-trustworthy) URL because it refers to a loopback address. Traffic sent to `127.0.0.1` is guaranteed not to leave your machine, and so is considered automatically secure against network interception. That means if your web app is HTTPS, and you offer a native app web service on `127.0.0.1` , the two can happily communicate via XHR. Unfortunately, [localhost doesn’t yet get the same treatment](https://tools.ietf.org/html/draft-ietf-dnsop-let-localhost-be-localhost-02). Also, WebSockets don’t get this treatment for either name."  
The question would be if the background app process of the Android app also default to http if `127.0.0.1` is used?

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 18, 2020, 10:48pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/31 "2020-01-18T22:48:49Z")

</div>

> [@Lars](#):
>
> The question would be if the background app process of the Android app also default to http if `127.0.0.1` is used?

Hmm, I’m not sure if I know quite what you mean by “background app process.” We use [a Cordova plugin](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/) that allows us to connect to most addresses, though like I said, I’ve observed that this still does not allow us to connect to farmOS servers running on http. I’m trying to track down the old issue now…

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 18, 2020, 11:17pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/32 "2020-01-18T23:17:37Z")

</div>

I can’t find the old issue. When I get a chance, I’ll try to set a testing environment with a debugging build to see if I can re-diagnose what’s going on. I _think_ it had something to do with [Content Security Policy](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/#content-security-policy), IIRC, but that seems like it might provide some workarounds. 🤞

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 18, 2020, 11:21pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/33 "2020-01-18T23:21:15Z")

</div>

Actually, @Lars, in the meantime, would you mind opening up an issue on GitHub?

> **[farmOS/farmOS-client](https://github.com/farmOS/farmOS-client/issues)**
>
> A simplified farmOS app that works offline in both browser and native app form. - farmOS/farmOS-client

It’s the best way to guarantee this issue gets dealt with, once I’m able to test, and that it’s then documented for later reference.

---

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://farmos.discourse.group/u/Lars)\
**Post date:** [January 18, 2020, 11:42pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/34 "2020-01-18T23:42:28Z")

</div>

Yes thats what I meant with “background” from the letsencryptlink I assumed that if I use a specific IP not localhost:port it would not need a SSL cert. This appears not to be the case with the Cordova plugin.

---

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://farmos.discourse.group/u/Lars)\
**Post date:** [January 18, 2020, 11:48pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/35 "2020-01-18T23:48:20Z")

</div>

My setup might be unusual but it appears to be more secure to me 😉  
Just to be sure:  
[https://127.0.0.1/farmOS/](https://127.0.0.1/farmOS/) should let me login on the app right?  
currently I am trying  
my login URL from the web browser [http://127.0.0.1/farmOS/](http://127.0.0.1/farmOS/)  
like 127.0.0.1/farmOS/  
and it does not connect (there is also no error message, it just sits there turning)

I will try to get the issue on GitHub.  
Thank you very much for your help!

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 19, 2020, 3:51pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/36 "2020-01-19T15:51:54Z")

</div>

> [@Lars](#):
>
> Just to be sure:  
> [https://127.0.0.1/farmOS/](https://127.0.0.1/farmOS/) should let me login on the app right?

Yes, that should be correct, if that’s where you navigate to get to your farmOS homepage from the browser.

---

<div class="post-metadata">

**Author:** ![Symbioquine](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/symbioquine/32/284_2.png) [@Symbioquine](https://farmos.discourse.group/u/Symbioquine)\
**Post date:** [January 19, 2020, 7:25pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/37 "2020-01-19T19:25:48Z")

</div>

For those trying to set up farmOS for local testing with https, I’d recommend [mkcert](https://github.com/FiloSottile/mkcert) and a reverse proxy. I’ve documented one strategy for combining these things in [this pull request](https://github.com/farmOS/farmOS.org/pull/66/files#diff-83997aac3d3708a267b8dc6e062f7270).

---

<div class="post-metadata">

**Author:** ![jgaehring](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/jgaehring/32/927_2.png) [@jgaehring](https://farmos.discourse.group/u/jgaehring)\
**Post date:** [January 20, 2020, 4:25am UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/38 "2020-01-20T04:25:30Z")

</div>

Excellent! Thanks, @Symbioquine!

---

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://farmos.discourse.group/u/Lars)\
**Post date:** [January 20, 2020, 10:04pm UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/39 "2020-01-20T22:04:11Z")

</div>

I would love to try that but it requires a installation in docker.  
My installation is directly on a server (and it took me a while to get it setup)

What are the advantages of the installation in docker vs. directly on the server?  
Are there any disadvantages?  
Would the docker container need a lot of RAM especially as the database grows with lots of pictures and data?

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [January 21, 2020, 4:42am UTC](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58/40 "2020-01-21T04:42:03Z")

</div>

Great Docker questions! It might make sense to break some of this discussion out into new forum topics though, what do you think?

We could have a topic for SSL certificate setup, and one for Docker vs non-Docker.

That way we can keep this issue focused on the Field Kit beta testing.

[Previous page](https://farmos.discourse.group/t/become-a-beta-tester-for-farmos-field-kit-on-ios-et-al/58.md?page=1)
