Viewing 16 posts - 1 through 16 (of 16 total)
-
AuthorPosts
-
July 27, 2018 at 7:05 am #14020
sudongParticipantHi,I successfully build ios,but when i run it in the simulator,it shows the tabs but there is no content.Whats more,it works good in my Android.And when i download my ios app through the TestFlight,when I open it, it only appears splash picture, and then is blank. I have down your app ' wplms student app' in the AppStore,when I open it, it always shows the splash picture. Why?July 27, 2018 at 9:21 am #14023
sudongParticipantWhat's more, when i run "ionic serve" it shows this: http://prntscr.com/kbnvtxJuly 27, 2018 at 12:54 pm #14034
adminMemberSeems to be related to your ionic cordova libraries. Refer : https://forum.ionicframework.com/t/navigator-splashscreen-is-undefined/28240/3 try running this command in terminal or cmd after navigating to ionic project folder:cordova plugin add cordova-plugin-splashscreen
after it :cordova plugin save
after it :cordova clean
July 28, 2018 at 10:44 am #14057
sudongParticipantIt did't work."ionic serve" just the same error http://prntscr.com/kbnvtx and when i open my app,after splash picture it is a blank.The full screen of the mobile phone is white.July 30, 2018 at 9:15 am #14093
adminMemberHi this is my setup on IOs which is working : Hi here is my working build environment on mac : IONIC INFO : cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.1 ionic (Ionic CLI) : 3.19.1 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.1.8 Cordova Platforms : ios 4.5.4 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.2 Node : v6.11.4 npm : 3.10.10 OS : macOS High Sierra Xcode : Xcode 9.0 Build version 9A235 Environment Variables: ANDROID_HOME : not set Misc: backend : pro Cordova plugins and their versions : cordova-plugin-camera 4.0.2 “Camera” cordova-plugin-console 1.1.0 “Console” cordova-plugin-device 2.0.1 “Device” cordova-plugin-facebook4 2.0.1 “Facebook Connect” cordova-plugin-file 6.0.1 “File” cordova-plugin-file-transfer 1.7.1 “File Transfer” cordova-plugin-googleplus 5.3.0 “Google SignIn” cordova-plugin-inappbrowser 2.0.2 “InAppBrowser” cordova-plugin-inapppurchase 1.1.0 “In App Purchase” cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard” cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview” cordova-plugin-splashscreen 5.0.2 “Splashscreen” cordova-plugin-statusbar 2.4.2 “StatusBar” cordova-plugin-whitelist 1.3.3 “Whitelist” cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin” ionic-plugin-keyboard 2.2.1 “Keyboard”. config.xml file and package.json files : https://we.tl/GY1MNeAi8F You can take backup of your ionic setup rename the package.json file and node_modules folder . then you have to add the given config.json file to your project and open terminal and run :npm install
After that please check for the corodova plugins . Install the cordova plugins with their versions mentioned above . example :cordova plugin add {cordova plugin name}@{version}
cordova plugin add [email protected]
August 3, 2018 at 4:32 am #14184
sudongParticipantI just creat another new app ID for ios in my website.And I rebuild my ionic project, installing plugins one by one, while ensuring that their versions are consistent with the version that I successfully installed on Android.Finally, when i run 'ionic serve' it works good. But, it doesen't show any content.Please look: http://prntscr.com/ke3etn And in my chrome console it shows this: Failed to load http://47.94.143.121/wp-json/wplms/v1/course/featured?per_view=5: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8100, *', but only one is allowed. Origin 'http://localhost:8100' is therefore not allowed access.August 3, 2018 at 8:24 am #14188
sudongParticipantI have solved this problem, its my website's problem. In my apache config file,i delete the code about cross domain. Anyway,thanks very much.August 3, 2018 at 9:28 am #14189
sudongParticipantI run "ionic serve", it works good. But when I was running on the simulator and the real machine, it didn't show the content of my website.It's strange.August 3, 2018 at 12:05 pm #14195
adminMemberYou need to debug it and check if the response is coming from api hit . use Safari simulator debugger to debug your app . refer : https://support.saucelabs.com/hc/en-us/articles/115002200207-Opening-the-Web-Inspector-to-Debug-Applications-in-the-iOS-Simulator-Mobile-Safari In network tab you can see the response of api hits . https://stackoverflow.com/questions/8839743/debugging-web-app-in-ipad-simulatorAugust 4, 2018 at 5:50 am #14207
sudongParticipantIn my xcode debug console, it shows this:http://prntscr.com/kej5zq NSURLConnection HTTP load failed My android app works good.August 9, 2018 at 7:29 am #14326
sudongParticipantWe can bind the website through URL and client_id. If someone knows my URL and client_id, can they create the same app ? They can charge free by modifying the code. Why the client_secret in the config.ts need not be filled in?August 9, 2018 at 8:58 am #14327
sudongParticipantI replace the src file in my ios project. But it doesn't change any more.It just cant get the website content.August 10, 2018 at 8:12 am #14345
adminMemberClient secret is not added to app ,it is fetched when user opens up the app and then client secret is used for all user related calls . apart from this there is a state param in app which is used to verify the api hits for all user related hits plus all the user realated api hits are based on token verification . So right now yes if someone knows your client id he can see public information like courses list but they cannot make any user related api hits . for your blank issue please refer : http://prntscr.com/kgy14j -
AuthorPosts
Viewing 16 posts - 1 through 16 (of 16 total)
- You must be logged in to reply to this topic.