Need a help in releasing Godot library in Android app

Godot Version

4.5.1

Question

We have taken reference from this gitHub link

Tried methods:
Approach 1: as suggested in github link
→ this approach copies the whole Godot project into Android Assets folder.
→ In this case Godot resources are easily available from apk, as its not encrypted.
→ How to use Godot setup in this case for releasing Apk into playstore, so that we can protect Godot project

Approach 2:
we have tried below export options in Godot ide:

  1. Have exported godot project as zip
  2. Unzipped the exported file and kept in assets folder
  3. this didn’t work for us.

Our main problem:

  1. Since we are copying the whole project in asset folder → the files are in readable form
  2. How to use Godot setup in this case for releasing Apk into playstore, so that we can protect Godot project
  3. Please help us and provide relevant resources.

We have also tried these two following approaches for .pck and .zip

  1. override fun getCommandLine() = listOf(“-main-pack”,“res://project.pck”)

  2. val args = Bundle()
    args.putString(“-main_pack”, “project.pck”) // Path relative to assets
    //val godotFragment = GodotFragment.newInstance(args)
    godotFragment = GodotFragment()
    godotFragment!!.arguments = args// GodotFragment(args)

Not working