// Inside the getPackages() method
override fun getPackages(): List<ReactPackage> {
    val packages = PackageList(this).packages
    packages.add(WeightScalePackage())  // Add this line
    return packages
}