We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

[question] Why is internet needed for installing a private app? [answered]

asked 2014-06-16 23:37:19 +0300

utkiek gravatar image

updated 2014-07-25 13:12:35 +0300

jiit gravatar image

With SDK I made a private app. On phone I disable internet connection (WLAN, mobile, BT). Now I copy the rpm files via USB on the phone and started the installation. At first a blue question ask for internet connection. I found no way to install my private app offline. Why is internet connection needed for my small humble app?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by utkiek
close date 2014-06-18 19:23:42.065313

Comments

What happens if you do allow it to connect to something, but disable the uplink from there?

Fuzzillogic ( 2014-06-16 23:54:42 +0300 )edit

Could it be pulling in a dependency that you've already have in your SDK?

GD ( 2014-06-17 02:33:22 +0300 )edit

It may want to do something alike "pkcon refresh" or your package really needs another package to be installed as GD suggests. I tried this just now with the default Sailfish template application and deploying it over USB when the phone is in flight mode did not make the internet connection dialog pop up.

kaltsi ( 2014-06-17 10:05:08 +0300 )edit

I also "Creating a SailfishOS Application" and say "Hello Sailors". Before I connected the phone via USB, I disabled all connections, also set the airplane mode off. After transfer the rpm I disconnect the USB cable. Now I allowed installation of "unsecure" software. Then I started the "file browser" app, choose the rpm and try to install. The blue question ask for internet connection...

Proberly I use the same temmplate. My phone runs with 1.0.7.16. OpenRepos/Warehouse is installed. Airplane mode is off. I installed my private app in previous version since february under online condition. Maybe another sailor will try this with the standard template.

utkiek ( 2014-06-17 22:17:54 +0300 )edit

@kaltsi: I use SDK 1406. By building the standard template application "Hello Sailor" I got the warning "QML Page: Cannot anchor to an item then isn't a parent or sibling.

utkiek ( 2014-06-17 22:29:09 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-06-18 19:18:18 +0300

utkiek gravatar image

Thanks @ kaltsi, my question is answered. Installing with 'sdk-deploy-rpm' runs without internet connection. The difference are the installer called by "File browser" app. Maybe the "File browser" developer will check this phone home.

edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2014-06-16 23:37:19 +0300

Seen: 418 times

Last updated: Jun 18 '14