WordPress LMS for Web and mobile Forums Ionic App Support App Menu Images Glitch.

App Menu Images Glitch.

Tagged: , ,

Viewing 30 posts - 1 through 30 (of 65 total)
  • Author
    Posts
  • #10012

    Pedro Abiu
    Participant

    Hello, i have a problem with the app.

    The app works perfectly when i test in in my browser but when i make the build on ios and open the app and i open the menu the menu is normal and funcional as normal but when i close and open the app again or access the home menu from the left menu bar the menu doesnt show the images it shows everything except the images.

    #10027

    Alex
    Keymaster

    Yup I also noticed this issue .The issue appears due to imagecache that we are using for each image .
    Right not we would need to remove the imagecache by changing the ” lazy-img ” to ” img ” and changing “[inputSrc]” to “src” all over in src folder in all files.

    Please send your src folder in zipped format .I will do it for you  and send it back to you .

    #10031

    Pedro Abiu
    Participant
    #10093

    Alex
    Keymaster
    This reply has been marked as private.
    #10165

    Alex
    Keymaster
    This reply has been marked as private.
    #10275

    Pedro Abiu
    Participant

    Typescript Error Property ‘browserInit’ does not exist on type ‘Facebook’.

    #10276

    Pedro Abiu
    Participant

    when i try  ionic serve

     

    #10294

    Alex
    Keymaster

    Please goto your ionic project folder -> src/services/authentication.ts edit the line as per screenshot : http://prntscr.com/iunh9a

    #10411

    Pedro Abiu
    Participant

    Im getting this when i try to run it on xcode:

    /Users/danielvaldez/Library/Developer/Xcode/DerivedData/Academia_Tecnoiglesia-fyptmyfcbqhlutaykkstbewzrxel/Build/Intermediates.noindex/Academia Tecnoiglesia.build/Debug-iphonesimulator/Academia Tecnoiglesia.build/Objects-normal/x86_64/CDVLogger.o /Users/danielvaldez/Library/Developer/Xcode/DerivedData/Academia_Tecnoiglesia-fyptmyfcbqhlutaykkstbewzrxel/Build/Products/Debug-iphonesimulator/libCordova.a(CDVLogger.o) duplicate symbol _OBJC_METACLASS_$_CDVLogger in: /Users/danielvaldez/Library/Developer/Xcode/DerivedData/Academia_Tecnoiglesia-fyptmyfcbqhlutaykkstbewzrxel/Build/Intermediates.noindex/Academia Tecnoiglesia.build/Debug-iphonesimulator/Academia Tecnoiglesia.build/Objects-normal/x86_64/CDVLogger.o /Users/danielvaldez/Library/Developer/Xcode/DerivedData/Academia_Tecnoiglesia-fyptmyfcbqhlutaykkstbewzrxel/Build/Products/Debug-iphonesimulator/libCordova.a(CDVLogger.o) ld: 2 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

    #10433

    Alex
    Keymaster

    Well this is related to xcode .you would need to remove the cordova platform ios and then add it back again in order to fix it .
    Please take backup of your project .
    then try running these commands :

    cordova plugin rm cordova-plugin-console

    cordova platform rm ios

    cordova platform add ios

    #10587

    Pedro Abiu
    Participant

    Thank you!

    Now i got another error.

    When i open the course summary from the app and scroll down i get this.

    View post on imgur.com

    #10605

    Alex
    Keymaster

    sharing a fix for that :

     

    goto your ionic project folder src -> pages -> course folder and edit the course.scss file in it :

    http://prntscr.com/j036w9

    #10649

    Pedro Abiu
    Participant

    Thank You!

    And i got another error.

    When i login in every account the profile page looks like this:

    View post on imgur.com

     

    #10650

    Pedro Abiu
    Participant

    im not getting the courses i own and my profile informacion

    #10658

    Alex
    Keymaster

    Make sure that you have  update vibe course module to version 3.4 .We will be releasing app update for the new api .Please test the app after updating the app code and vibe course module plugin .

    Also in your .htaccess file please try adding this code for the profile blank issue  : SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    #10763

    Pedro Abiu
    Participant

    Sorry but wheres the htacces file?

    #10774

    Alex
    Keymaster

    Well its in your root of your site . On some hosts in cpanel -> file manager it is hidden by default .
    So contact your webhost to find it if you are not able to see it in root of your wplms site .
    refer : http://prntscr.com/j37laq

    #10887

    Pedro Abiu
    Participant

    Thank You! Now i got another problem:

    When i open the video course from the ionic serve the video appers and runs fine but when i test it on my iphone it just appers a white screen:

    View post on imgur.com

    #10902

    Alex
    Keymaster

    Ok please make sure that you have this line in your config.xml file in root of your ionic project where resources and src folder is .
    <access origin="*" />

    Please also make sure you have installed  these plugins in your ionic setup :

    cordova-plugin-camera 3.0.0 “Camera”

    cordova-plugin-console 1.1.0 “Console”

    cordova-plugin-device 1.1.4 “Device”

    cordova-plugin-facebook4 1.7.4 “Facebook Connect”

    cordova-plugin-file 5.0.0 “File”

    cordova-plugin-file-transfer 1.7.0 “File Transfer”

    cordova-plugin-googleplus 5.1.1 “Google SignIn”

    cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview”

    cordova-plugin-ios-non-exempt-encryption 1.0.0 “ITSAppUsesNonExemptEncryption false”

    cordova-plugin-splashscreen 4.0.3 “Splashscreen”

    cordova-plugin-statusbar 2.3.0 “StatusBar”

    cordova-plugin-whitelist 1.3.1 “Whitelist”

    cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

     

    ionic-plugin-keyboard 2.2.1 “Keyboard”

     

     

     

    To install plugin run this command :

    cordova plugin add {cordova_plugin_name}

     

    eg : cordova plugin add cordova-plugin-file-transfer 

    #10940

    Pedro Abiu
    Participant

    Hi! Thank you but it didnt work it just work when i do the ionic serve but when i try it on ios the video just not appear

    #10950

    Alex
    Keymaster
    This reply has been marked as private.
    #10980

    Pedro Abiu
    Participant
    This reply has been marked as private.
    #10990

    Alex
    Keymaster
    This reply has been marked as private.
    #11027

    Pedro Abiu
    Participant

    Alraight it worked. But i dont want the video link to be shown.

    View post on imgur.com

    #11038

    Alex
    Keymaster

    Well this is coming from ios OS browser itself . To disable this please goto ionic project folder -> src -> pages -> course-status -> course-status.ts : edit it :

    http://prntscr.com/j7s3du 

     

    this.iab.create(frameUrl, “_blank”,”location=no”);

    #11152

    Pedro Abiu
    Participant

    ok Thanks! Now when i try to deploy the app in android i get this:

    View post on imgur.com

    #11153

    Pedro Abiu
    Participant
    #11169

    Alex
    Keymaster

    Okay can you please share your just src folder .
    I did not find any issues with the src folder that you shared previously .

    Also please tell if you are able to run app in browser with ” ionic serve ” command  .

     

    Please try building apk file by running below command :

    ionic cordova build android

    #11702

    Pedro Abiu
    Participant

    The source file. https://www.dropbox.com/s/mpagdxr4vmwgr2q/src.zip?dl=0

    I managed to fix the error but when i do the ionic cordova build –release android i get this:

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ‘:app:processReleaseResources’.
    > Failed to execute aapt

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 31s
    at ChildProcess.whenDone (/Users/danielvaldez/Desktop/atiapp/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Socket.stream.socket.on (internal/child_process.js:346:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:567:12)
    (node:1966) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:1966) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code

    #11703

    Pedro Abiu
    Participant

    The source file. https://www.dropbox.com/s/mpagdxr4vmwgr2q/src.zip?dl=0

    I managed to fix the error but when i do the ionic cordova build –release android i get this:

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ‘:app:processReleaseResources’.
    > Failed to execute aapt

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 31s
    at ChildProcess.whenDone (/Users/danielvaldez/Desktop/atiapp/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Socket.stream.socket.on (internal/child_process.js:346:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:567:12)
    (node:1966) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:1966) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    iMac-de-Daniel:atiapp danielvaldez$

Viewing 30 posts - 1 through 30 (of 65 total)
  • You must be logged in to reply to this topic.