| Methods |
public
|
setGenRootFolder($param)
|
#
|
public
|
setSpecialMetaTag($val)
|
#
|
public
|
setMultiFiles()
Set Distribute multi js css files rather then single
Set Distribute multi js css files rather then single
|
#
|
public
|
addPage($pageobj)
|
#
|
public
|
addDistLib($folderpath)
|
#
|
public
|
addAndroidSetting(string $section_name, string $perm_line)
Add Android Settings Line to build.gradle.kts file. You can over write with same line of code.
Section Name $section…
Add Android Settings Line to build.gradle.kts file. You can over write with same line of code.
Section Name $section_name define Array key to group related Items when use renderAndroidSettings
used Section Names list are:- permission(config.xml file permission code),
app(config.xml file app tag inner XML code),
plugins(build.gradle.kts file plugins code),
android(build.gradle.kts file android code),
dependency(build.gradle.kts file dependency code)
You can create your own
Example Pass as string:-
permission:-
Dependency:- implementation("androidx.core:core-ktx:1.10.0")
Android setting:- composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
Parameters
| $section_name |
where to insert code
|
|
#
|
public
|
renderAndroidSettings($section_name)
|
#
|
public
|
addAndroidLibFile(string $srcfile, string $destdir = "")
Insert Lib File Android into libs folder
Insert Lib File Android into libs folder
Parameters
| $srcfile |
file for copy from
|
| $destdir |
Optional relative Dir for copy to sub folder under libs folder. Default is root of libs folder
|
|
#
|
public
|
addAndroidLibDir($srcdir, $destdir = "")
|
#
|
public
|
addKotlinGate($srcfile)
|
#
|
public
|
addKotlinDir($srcdir)
|
#
|
public
|
addCppDir($srcdir)
|
#
|
public
|
addJavaDir($srcdir)
|
#
|
public
|
process($frontobj)
|
#
|
public
|
processEvent()
|
#
|
protected
|
setForceCopyGen()
Force Copy and Generate Mobile app Files from Source. This can over write Android project files from
source forcefully.
Force Copy and Generate Mobile app Files from Source. This can over write Android project files from
source forcefully.
|
#
|
protected
|
enableAndroidStudio()
Project will compile and run by Android Studio
Project will compile and run by Android Studio
|
#
|
protected
|
disableAndroidStudio()
|
#
|
protected
|
publishAndroidApp($curdirpath)
|
#
|
protected
|
sendRenderData()
|
#
|
public
|
setClassPath()
|
#
|