Skip to content

SF projects created before 26.12.19 needs to be migrated

Notifications You must be signed in to change notification settings

smartface/sf-androidx-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migration To AndroidX Tool

AndroidX replaces the original support library API's with packages in the androidx namespace. Thus, there might be XML/JS files to be migrated to AndroidX. Such as, AndroidManifest.xml or if codebase/third-party libraries contain previously used native API's then migration will be necessary in order to use newer version of the SF player.

Installation

Migration tool can be installed via npm easily from our public npm repository. The installation is pretty easy via Smartface Cloud IDE. Run the following code in terminal:

(cd scripts && npm install sf-androidx-migration)

Usage

node --max-old-space-size=2048 ~/workspace/scripts/node_modules/sf-androidx-migration/index.js ~/workspace/scripts/
node --max-old-space-size=2048 ~/workspace/scripts/node_modules/sf-androidx-migration/index.js ~/workspace/config/

❗Important Note❗

We recommend working in a separate branch when migrating. Also try to avoid refactoring your code while performing the migration.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

SF projects created before 26.12.19 needs to be migrated

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published