4d / 4d-mobile-app Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
by for instance injecting version string as template variable
The need: without interface allow to change main order
iOS code:
https://github.com/4d/4D-Mobile-App/blob/main/Project/Sources/Classes/NavigationTemplate.4dm#L71
how it must work:
in 4D code if a file "mainOrder.json" is present, it replace the key project key "project.main.order"
The file is near project file
exemple of content
["5", { "action": "openURL_3" }, "6"]
a collection of:
An error occur when trying to rename a file
Error when executing the method "project_BUILD" at line number 101
Cannot rename file "New project" to "New project.ios.fingerprint" (Macintosh HD:Users:username:Library:Caches:com.4d.mobile:New project)
Error code: 601 (xbox)
Cannot rename file "New project" to "New project.ios.fingerprint" (Macintosh HD:Users:username:Library:Caches:com.4d.mobile:New project)
xtoolbox
task -3, name: 'Design process'
Error code: 17 (POSX)
File exists
component: 'POSX'
task -3, name: 'Design process'
Call chain:
[
{
"type": "projectMethod",
"name": "project_BUILD",
"line": 101,
"database": "4D Mobile App"
}
]
maybe, there is already a file with same name at destination?
(seen on @david-azancot workstation)
Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.String >
com.android.ide.common.vectordrawable.Svg2Vector.parseSvgToXml(java.io.File, java.io.OutputStream)'\n\tat
com.android.ide.common.vectordrawable.VdCommandLineTool.convertSVGToXml(VdCommandLineTool.java:226)\n\tat
com.android.ide.common.vectordrawable.VdCommandLineTool.main(VdCommandLineTool.java:80)
returned by vd-tool.jar
To have better experience when filling production url
we must
Build
20.100653
20R3.287741
20R2.100220
SDK version
[email protected]
Component:
#50
Description:
build of a simple application with text fields displays the following error:
Failed to create the project
Failed to generate files
Exception in thread "main" kotlin.UninitializedPropertyAccessException: lateinit property deepLink has not been initialized
at kscript.scriplet.ProjectEditor.getDeepLink(Main.kt:2360)
at kscript.scriplet.MustacheHelper.<init>(Main.kt:754)
at kscript.scriplet.GenerateCommand.start(Main.kt:8647)
at kscript.scriplet.GenerateCommand.run(Main.kt:8602)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:204)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:213)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:17)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:396)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:393)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:411)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:436)
at kscript.scriplet.MainKt.main(Main.kt:8768)
Note: deep linking is not enabled in the project editor; and the following error is displayed when clicking on the publishing section:
Error when executing the method "panel_Load" at line number 33
Object or Collection Expected.
Error code: -10716 (4DRT)
Object or Collection Expected.
component: '4DRT'
task -9, name: 'Design process'
Call chain:
[
{
"type": "projectMethod",
"name": "panel_Load",
"line": 33,
"database": "4D Mobile App"
},
{
"type": "projectMethod",
"name": "panel_HANDLE_EVENT",
"line": 1,
"database": "4D Mobile App"
}
]
We have seen that we cannot restart web server after generating an android app that connect using 192.168.xx port
Even if we close 4D, the port is seen open by 4D (we see it's pid)
We found that adb.exe remain in task manager, kill it solve the issue
maybe we could look at option or things to resolve that
we have the workaround to kill adb.exe
Just detect missing component when needed
ie. all features like push notification, etc...
from https://developer.apple.com/account/#/membership
to https://developer.apple.com/account#MembershipDetailsCard (even is fragment not working well, we must clean on menu with js code...)
So the change to do in xliff are
<trans-unit id="C93LrKlnBPbeb/dbq+nr9w" resname="doc_team" translate="no">
- <source>https://developer.apple.com/account/#/membership/</source>
+ <source>https://developer.apple.com/account#MembershipDetailsCard</source>
I try but with just string replace but I have encoding and formatting issue, that's why I ask you @vdelachaux
in lep class
resultInErrorStream=false
success:=Bool:C1537(OK) -> true
on rentre dans ce if donc
https://github.com/4d/4D-Mobile-App/blob/main/Project/Sources/Classes/lep.4dm#L349
et dans ce cas le error stream n'est pa affecté a
This:.errorStream
donc aucune remonté d'erreur pour analyser les soucis
ps: avant parfois on avait success=false si ya des choses dans l'error stream tout cours mais qui s'applique pas a toutes les commandes (comme git)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.