{"id":22321370,"url":"https://github.com/khalisafkari/react-native-sdkx","last_synced_at":"2025-07-10T20:33:21.085Z","repository":{"id":57339895,"uuid":"306535925","full_name":"khalisafkari/react-native-sdkx","owner":"khalisafkari","description":"GreedyGame is an end-to-end implementation, mediation and optimization platform for Ads, support Admob, FacebookAds, Mopub,","archived":false,"fork":false,"pushed_at":"2023-03-05T14:39:17.000Z","size":2029,"stargazers_count":7,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-26T15:18:16.632Z","etag":null,"topics":["admob","android","facebook","greedygame","monetization","mopub-ads","react-native"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khalisafkari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-23T05:15:58.000Z","updated_at":"2024-09-20T18:32:51.000Z","dependencies_parsed_at":"2023-02-06T06:00:36.272Z","dependency_job_id":null,"html_url":"https://github.com/khalisafkari/react-native-sdkx","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/khalisafkari/react-native-sdkx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalisafkari%2Freact-native-sdkx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalisafkari%2Freact-native-sdkx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalisafkari%2Freact-native-sdkx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalisafkari%2Freact-native-sdkx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khalisafkari","download_url":"https://codeload.github.com/khalisafkari/react-native-sdkx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalisafkari%2Freact-native-sdkx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262442639,"owners_count":23311804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admob","android","facebook","greedygame","monetization","mopub-ads","react-native"],"created_at":"2024-12-04T00:17:47.931Z","updated_at":"2025-07-10T20:33:21.063Z","avatar_url":"https://github.com/khalisafkari.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## react-native-sdkx\n\u003ca href=\"https://ibb.co/6nVTVYb\"\u003e\u003cimg src=\"https://i.ibb.co/4m9X9WM/Untitled-presentation.png\" alt=\"Untitled-presentation\" border=\"0\"\u003e\u003c/a\u003e\n\nGreedyGame’s SDK X is an SDK for app developers to increase their monetisation capabilities. You can also connect your AdMob account and mediate ads to optimise your **AdMob** Monetization.\n\n### installed\n```shell script\nnpm install react-native-sdkx\n\nor\n\nyarn add react-native-sdkx\n```\n\n\n### Usage\n\n\u003ca href=\"https://ibb.co/FhdnrRY\"\u003e\u003cimg width=\"49%\" src=\"https://i.ibb.co/104bgFX/Screenshot-1603528544.png\" alt=\"Screenshot-1603528544\" border=\"0\"\u003e\n\u003ca href=\"https://ibb.co/09Ds8dB\"\u003e\u003cimg width=\"49%\" src=\"https://i.ibb.co/SmsfW9Q/Screenshot-1603528555.png\" alt=\"Screenshot-1603528555\" border=\"0\"\u003e\n\n\n\n```typescript jsx\n\n// in-initialize\ninterface option {\n  appId: string; // required\n  themes?: number; // default 0 choose 1 | 0\n  enableCoppa?: boolean; // optional default true\n  enableCcpa?: boolean; // optional default true\n  enableGdpr?: boolean; // optional default true\n  enableDebug?: boolean; // optional default true\n}\n\ninterface props  {\n  initialize(option): Promise\u003cboolean\u003e;\n  isinitialize(): Promise\u003cboolean\u003e;\n  loadAdIntertitial(unitAd: string): Promise\u003cboolean\u003e;\n  showIntertitialAd(): void;\n  destroy(): void;\n  prefetchAds(unitAd: string, callback: Function): void;\n};\n```\n\n\n```typescript jsx\n  // index.js\n\n  import SDK from 'react-native-sdkx';\n\n  export interface option {\n    appId: string;\n    themes?: number;\n    enableCoppa?: boolean;\n    enableCcpa?: boolean;\n    enableGdpr?: boolean;\n    enableDebug?: boolean;\n  }\n\n  SDK.initialize(option)\n```\n\n```typescript\n\n// intertitial Ad\nimport SDKX from 'react-native-sdkx';\n\nconst loadAd = await SDKX.loadAdIntertitial('unit ad')\nif (loadAd)  { SDKX.showIntertitialAd() }\n\n```\n\n```typescript jsx\n//Banner\nimport SDKX, { BannerAd } from 'react-native-sdkx';\n\ninterface props {\n  style?: StyleProp\u003cViewStyle\u003e;\n  adUnit?: string; // bannerId | nativeId\n  onReadyForRefresh?: Function;\n  onUiiClosed?: Function;\n  onUiiOpened?: Function;\n  onAdLoadFailed?(error?: string): Function;\n  onAdLoaded?: Function;\n}\n\n\u003cBannerAd adUnit={'AdId'} style={{ height: 100, width: '100%' }} /\u003e\n\n```\n\n```\nTo beautify the native appearance -\nI suggest a minimum height style of 250\n\n```\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalisafkari%2Freact-native-sdkx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhalisafkari%2Freact-native-sdkx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalisafkari%2Freact-native-sdkx/lists"}