-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[FR] Mobile support #27
Comments
While it's not working is it possible to mark |
oh that's right! I will change it. Thank you |
You may be able to debug this more effectively using Obsidian REPL. Though it won't show the initial failure to load, it will pick up the error when you try and manually enable the plug-in. |
Nice plugin idea btw! |
"isDesktopOnly": true added with 0.3.1 |
Great! I look forward to proper mobile support! |
Nice! I am working with documentation with mkdocs |
Hi @iamrecursion do you need help with this issue? |
Oh, I think there's been some confusion! I didn't say that I could work on it—unfortunately I've not got the time at the moment—just that I look forward to it being done! If this is still outstanding in a month or so I should be able to pick it up. I'm really sorry for the confusion! |
@iamrecursion oh do not sorry :) I will try to give mobile support with your debugging plugin |
Trying to debug on mobile while is load with this templater script but does not load on mobile yet: // Call this method inside your plugin's
// `onload` function like so:
// monkeyPatchConsole(this);
function monkeyPatchConsole(path){
console.log("=> monkeyPatchConsole");
// if (!Platform.isMobile) {
// return;
// }
const logFile = `${path}/${new Date().toLocaleDateString('sv')}.log`;
const logs = [];
const logMessages = (prefix) => (messages) => {
logs.push(`\n[${prefix}]`);
for (const message of messages) {
logs.push(String(message));
}
window.app.vault.adapter.write(logFile, logs.join(" "));
};
console.debug = logMessages("debug");
console.error = logMessages("error");
console.info = logMessages("info");
console.log = logMessages("log");
console.warn = logMessages("warn");
console.log(`<= monkeyPatchConsole ${logFile}`);
}
module.exports = monkeyPatchConsole; |
I generate a mini plugin just to debug on mobile. Once I found the problem ( const getRollupPlugins = (tsconfig, ...plugins) =>
[
typescript2(tsconfig),
nodeResolve({ browser: true }),
json(),
commonjs(),
replace({
'process.env.NODE_ENV': JSON.stringify(isProd ? 'production' : 'development')
})
].concat(plugins); aaaand... Its working! I am sure there are tons of bugs just for mobile but at least the table is loading correctly |
That's very exciting! |
@bakerstreet reports that the application does not work on mobile property here
I am opening this issue
The text was updated successfully, but these errors were encountered: