Ionic v1 app not working properly in ipad while it works on other devices


#1

I am facing one of the strangest problem.My ionic v1 app works fine in android and iphone but it is not working properly in ipad. My app has four tabs one of the tab is home which loads ‘home’ view to which ‘HomeController’ is binded, but somehow this controller fails to load while app running in ipad i.e angularjs is unable to find the ‘HomeController’.

Below is the Xcode log screenshot displaying “HomeController” error.

As we can see in the above Xcode log screenshot angularjs is unable to find and load “HomeController”.

i have also checked for any case error in name while including “HomeController.js” file in index.html that is also correct.Also i have checked for any Dependency injection error but everything is right if it was not then app would not run on any device.

Below is configuration information-

@ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1
    Gulp CLI    : not installed globally

local packages:

    Cordova Platforms : ios 4.1.0
    Ionic Framework   : ionic1 1.3.1

System:

    Node  : v6.11.2
    npm   : 3.10.10
    OS    : macOS Sierra
    Xcode : Xcode 8.3.3 Build version 8E3004b

Ipad’s ios version:-9.3.5

Thank You.


#2

I have same problem in ionic v1. any one found any solution for this?
Below is ionic info
Ionic:

ionic (Ionic CLI) : 4.3.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.1
@ionic/v1-toolkit : 1.0.10

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : ios 4.5.5
Cordova Plugins : no whitelisted plugins (14 plugins total)

System:

NodeJS : v8.12.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255

ionic plugins list

cordova plugin ls
cordova-plugin-compat 1.2.0 “Compat”
cordova-plugin-console 1.1.0 “Console”
cordova-plugin-device 2.0.2 “Device”
cordova-plugin-file 4.3.3 “File”
cordova-plugin-file-opener2 2.0.19 “File Opener2”
cordova-plugin-file-transfer 1.6.3 “File Transfer”
cordova-plugin-firebase 2.0.5 “Google Firebase Plugin”
cordova-plugin-inappbrowser 2.0.2 “InAppBrowser”
cordova-plugin-ms-adal 0.10.1 “ADAL for Cordova”
cordova-plugin-network-information 1.3.4 “Network Information”
cordova-plugin-screen-orientation 3.0.1 “Screen Orientation”
cordova-plugin-splashscreen 5.0.2 “Splashscreen”
cordova-plugin-statusbar 2.4.2 “StatusBar”
cordova-plugin-whitelist 1.3.3 “Whitelist”
cordova-plugin-x-toast 2.7.0 “Toast”
ionic-plugin-keyboard 2.2.1 “Keyboard”