-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XAPKReader.downloadExpansionIfAvailable() makes status bar disappear #117
Comments
More details about my workaround: Calling function callRepeatedly (fn, duration) {
let id
function tick () { fn(); id = setTimeout(tick, 1) }
tick()
setTimeout(() => { clearTimeout(id) }, duration)
} |
Thank you. I'll look into all this.
…On Jan 9, 2018 8:29 AM, "Josef Brandl" ***@***.***> wrote:
More details for my workaround: Calling StatusBar.show() synchronously in
the callbacks of downloadExpansionIfAvailable() didn't work. I now call
it repeatedly via this monstrosity: callRepeatedly(() =>
StatusBar.show(), 2000) Works, but it's not pretty
function callRepeatedly (fn, duration) {
let id
function tick () {
fn()
id = setTimeout(tick, 1)
}
tick()
setTimeout(() => {
clearTimeout(id)
}, duration)
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADFJWO7pDA-1Ai4goABFDpC36b5vhDfgks5tI2mpgaJpZM4RXx1n>
.
|
Hi agamemnus, I'm try to use your plugin with Cordova 8.0.0, but when build and run my project, crash complete. Can you help me? I download from the branch cordova-6.5.0. Thanks. |
8!
I can't keep up with all the changes unfortunately. Someone has to keep
submitting PRs.
…On Mon, Aug 6, 2018, 3:19 PM pedrojosecas ***@***.***> wrote:
Hi agamemnus,
I'm try to use your plugin with Cordova 8.0.0, but when build and run my
project, crash complete.
Can you help me? I download from the branch cordova-6.5.0.
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADFJWHrmjZGIDAMqSi1Ms0hqmzp3YgTPks5uOJa9gaJpZM4RXx1n>
.
|
Try to find out what the error is.. We can try to go from there.
…On Mon, Aug 6, 2018, 3:19 PM pedrojosecas ***@***.***> wrote:
Hi agamemnus,
I'm try to use your plugin with Cordova 8.0.0, but when build and run my
project, crash complete.
Can you help me? I download from the branch cordova-6.5.0.
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADFJWHrmjZGIDAMqSi1Ms0hqmzp3YgTPks5uOJa9gaJpZM4RXx1n>
.
|
I found how some the issues but when make cordova run android appear this error and the app crash and close, you know why or give me some idea to solve: 08-06 13:52:08.017 1184-1184/com.mathshelf.mathshelf D/AndroidRuntime: Shutting down VM
08-06 13:52:08.018 1184-1184/com.mathshelf.mathshelf E/AndroidRuntime: FATAL EXCEPTION: main |
This is weird. I'm not an expert on this. Can't tell. Can you try making a blank app and just add things in until it crashes? |
I created a blank project and the same issue :( when open the app crash and appear the same issue, I only download your project add the plugin to the blank project, make the configuration and then cordova run android, but crash :( |
Can't tell anything from the bug report.. you can try to use a lower version or download things on the fly. |
Hi Agamemnus, I have a one question, is a dumb question, but I need ask you, I have the obb file in the folder but when I try to access like this: < img src="content://com.companyname.myapp/src/image1.jpg"> I can't, in the obb file I have the sources in the folder src. And other question, the obb is unzip or only need access to the obb without unzip? Thanks. |
The directory structure refers to the structure in your zip file. And it
can't be compressed, but it must be a zip file of type "store".
…On Thu, Aug 9, 2018, 11:26 AM pedrojosecas ***@***.***> wrote:
Hi Agamemnus,
I have a one question, is a dumb question, but I need ask you, I have the
obb file in the folder but when I try to access like this:
< img src="content://com.companyname.myapp/src/image1.jpg">
I can't, in the obb file I have the sources in the folder src. And other
question, the obb is unzip or only need access to the obb without unzip?
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADFJWFEfEL-981UbybEdZx5SLd_HonrOks5uPFS9gaJpZM4RXx1n>
.
|
Thanks, Yes the structure is same in my zip and try to load the source, but I can't access, say File not Found, the only way I can access is when I unzip the obb. |
What parameters did you use when you set up the plugin?
…On Thu, Aug 9, 2018, 1:41 PM pedrojosecas ***@***.***> wrote:
Thanks,
Yes the structure is same in my zip and try to load the source, but I
can't access, say File not Found, the only way I can access is when I unzip
the obb.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADFJWMApDegQw-9LaUtzCn4EXtRJomuDks5uPHRZgaJpZM4RXx1n>
.
|
In order to make the splash screen show up I'm following the instructions in the README and use
XAPKReader.downloadExpansionIfAvailable()
to download the expansion files after the splash screen isn't visible anymore. Unfortunately calling this function has a side effect: The status bar slides up and is thus gone. As a workaround I've addedStatusBar.show()
to the callbacks ofdownloadExpansionIfAvailable()
. Works perfectly, but it's a hack nonetheless :DThe text was updated successfully, but these errors were encountered: