Hi everyone
I just cant figure out one thing with the preset url in the app for not needing to put in the url by yourself. I have configured the config.json according to all sources that i find and rebuilt many times but i always need to put in the url myself when starting the app. I use the https://github.com/masterfoto/moodlemobile-phonegapbuild/tree/masterfoto2017
I use the code
{
"app_id" : "com.fotokurs-online.mobile",
"appname": "Fotokurs by Mästerfoto",
"versioncode" : "20170",
"versionname" : "1.0",
"cache_expiration_time" : 300000,
"default_lang" : "sv",
"languages": {"ar": "عربي", "bg": "Български", "ca": "Català", "cs": "Čeština", "da": "Dansk", "de": "Deutsch","en": "English", "es": "Español", "es-mx": "Español - México", "eu": "Euskara", "fa": "فارسی", "fr" : "Français", "he" : "עברית", "hu": "magyar", "it": "Italiano", "ja": "日本語","nl": "Nederlands", "pl": "Polski", "pt-br": "Português - Brasil", "pt": "Português - Portugal", "ro": "Română", "ru": "Русский", "sv": "Svenska", "tr" : "Türkçe", "zh-cn" : "简体中文", "zh-tw" : "正體中文"},
"wsservice" : "moodle_mobile_app",
"wsextservice" : "local_mobile",
"gcmpn": "694767596569",
"customurlscheme": "moodlemobile",
"presets" : {"url": "http://www.fotokurs-online.se/login/index.php", "username": ""},
"siteurl": "http://www.fotokurs-online.se/login/index.php",
"skipssoconfirmation": "false",
"forcedefaultlanguage": "false",
"privacypolicy": "https://moodle.org/mod/page/view.php?id=8148"
}
Please anyone to help me proceed as putting in the url is very annoying.
Regards, Patrik