Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Cannot fetch wallpapers from firebase #150

Open
hameeddd opened this issue Apr 13, 2019 · 0 comments
Open

Cannot fetch wallpapers from firebase #150

hameeddd opened this issue Apr 13, 2019 · 0 comments

Comments

@hameeddd
Copy link

thanks for your source file , i used the wallpaper.json in drive and it worked for me but when i connect it to the firebase i cannot fetch wallpapers. It fetches from drive instead from firebase. I removed the drive link and tried and its not fetching please help me with this issue.

The code i have used is down below

configuration.setJsonStructure( new JsonStructure.Builder() .jsonOutputUrl(null) .categoryStructure( new JsonStructure.CategoryStructure("Categories") .name("name")) .wallpaperStructure( new JsonStructure.WallpaperStructure("Wallpapers") .name("name") .author("author") .url("url") .thumbUrl("thumbUrl") .category("category")) .build()); return configuration;

` public WallpaperBoardConfiguration onInit() {
WallpaperBoardConfiguration configuration = new WallpaperBoardConfiguration();

    configuration.setJsonStructure(
            new JsonStructure.Builder()
                    .url(null)
                    .category(
                            new JsonStructure.CategoryStructure("Categories")
                                    .name("name"))
                    .wallpaper(
                            new JsonStructure.WallpaperStructure("Wallpapers")
                                    .name("name")
                                    .author("author")
                                    .url("url")
                                    .thumbUrl("thumbUrl")
                                    .category("category"))
                    .build());
    return configuration;`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant