J

John N

Member

Last active last week

  1. last week
    Sun May 12 17:01:29 2019
    J John N started the conversation Local Storage not working in XPUB 2.0/WKWebView.

    It seems that Local Storage is not working with XPUB 2.0/WKWebView - published as an iOS app.

    It does work as long as an app is open - saving changes of values when going between pages.
    But it doesn't read the saved values after closing an app and reopen it.

    I am not using Session storage but storage without any expiration.
    It has always worked before XPUB and WebView were updated.
    Has anyone got it to work?

    here's my code that used to work:
    //------------------------------------------------------------------------
    if (localStorage.getItem("myVarName") === null) {
    localStorage.myVarName = "true";
    mySavedValue = localStorage.myVarName;
    }else{
    mySavedValue = localStorage.myVarName;
    }
    //------------------------------------------------------------------------

  2. 8 weeks ago
    Fri Mar 22 12:57:37 2019
    J John N started the conversation Apple warning iOS 12.1 SDK.

    At App Store Connect it says:

    "As a reminder, starting March 27, 2019 all new apps and app updates for iPhone or iPad, including universal apps, will need to be built with the iOS 12.1 SDK and support iPhone XS Max or the 12.9-inch iPad Pro (3rd generation)."

    When will there be an update of Pubcoder for these new requrements?

  3. 2 months ago
    Sun Mar 17 12:44:35 2019
    J John N started the conversation Unzipping a .pubcoder file.

    I have tried out a procedure that seems to work.
    I have a Pubcoder iOS app in English that is going to be made into a Spanish version.
    The app includes a huge amount of mp3 files with speech.
    I could of course edit each and every sound object but I came to think there maybe could be an easier way.

    This is what I did:

    • I named all the Spanish mp3 files with the same filenames as their English equivalents.
    • I unzipped the .pubcoder file and got the 'Contents' folder.
    • I went into the 'Contents -> Resources -> audio' folder and replaced all the English mp3 files with the Spanish files.
    • I zipped the 'Contents' folder and renamed the extension from 'zip' to 'pubcoder'.

    Then I could open the file in Pubcoder and all the English had become Spanish in one go.

    What I would like to know is if there are any drawbacks or pitfalls doing this 'trick'?

    Thanks
    John

  4. 3 months ago
    Mon Feb 18 21:13:39 2019

    Thanks, Angelo.

  5. Mon Feb 18 11:28:22 2019

    Thanks, Angelo - will it be a good idea then to wait with launching a new app until you have updated Pubcoder with the iOS 12.1 SDK? We have a new app ready but can wait the few days until March.

  6. Fri Jan 25 22:01:42 2019
    J John N started the conversation iOS app is built with soon outdated SDK.

    I have recently begun to get a warning message from Apple, when I upload an iOS app via Application Loader.
    I include the message below.
    My question is if this is something I can resolve myself or it is something that has to be change in Pubcoder itself?
    I have just update Pubocer to the the newest version 3.4 (982).
    //------------------------------------------------------------------------------
    Dear Developer,

    We identified one or more issues with a recent delivery for your app, "Ballyland Code 2: Give Rotor". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

    SDK Version Issue - This app was built with the iOS 11.4 SDK. Starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.

    After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

    Best regards,

    The App Store Team

  7. Sun Jan 20 17:21:47 2019
    J John N posted in Read Aloud (multiple blocks).

    I'm just curious - are there more than one user with the name "John N"? It's a bit confusing, I think, since I didn't post in this thread.

  8. 5 months ago
    Tue Dec 11 20:23:13 2018
    J John N started the conversation Android SDK won't install.

    I am trying to install the Android SDK from Pubcoder 3.3 (973) - Preferences -> SDK - Mac OS X 10.13.4.
    When it comes to "Preparing to install Packages..." it stops and give the error message "An unexpected error occurred".
    The same thing happens on both my iMac and my MacBook.

  9. Mon Nov 26 15:16:43 2018
    J John N posted in OpenURL not working in iOS app.

    Yes, the link is pointing to a web page and I am sure I am inserting it correctly. I haven't looked more into it, since I realised that opening a webpage from an app would cause loss of focus for our users who are mainly blind or visually impaired.
    I will however try it out again just for testing that it actually works or doesn't.

  10. 6 months ago
    Tue Oct 30 00:10:51 2018
    J John N started the conversation How to avoid default background-color in "styles.css".

    The "styles.css" for each page automatically contains:

    .SCPage {
    background-color: #FFFFFF
    }

    Is there any way to change the colour?
    Or a way to avoid that it is automatically added?

    I have added in "Page CSS":

    .SCPage {
    background-color: #000000;
    }

    The background becomes black alright - but there is an annoying white flash before it gets black.

    PS: Is it on purpose that there's a missing semicolon after "background-color: #FFFFFF"?

View more