atiqsamtia / change_app_package_name

Change App Package Name with single command. It makes the process very easy and fast.
https://pub.dev/packages/change_app_package_name
MIT License
139 stars 68 forks source link

issue with kotlin and certain TLD domains #41

Open RobinNaumann opened 2 months ago

RobinNaumann commented 2 months ago

Problem

Kotlin treats is, in, and as as keywords. This is a problem since these conflict with the top level domains for Iceland🇮🇸, India🇮🇳 and American Samoa🇦🇸 respectively.

Currently, the build just fails with: MainActivity.kt: (1, 9): Package name must be a '.'-separated identifier list

Fix

It's neccessary to provide this part of the package name as a string: package is.example.app -> package `is`.example app

great package! Saved me a lot of time today. Thanks :)

atiqsamtia commented 2 months ago

Happy to hear it helped you.

Can you send a PR for this additional? Otherwise I'll add this in few days.