Skip to content

Commit

Permalink
Android: Added console log message for missing API.
Browse files Browse the repository at this point in the history
  • Loading branch information
neerhaj committed Oct 14, 2024
1 parent ef57721 commit 5cce59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default class PushIOManager {
*/
static registerApp(useLocation,callback){
if(Platform.OS === 'android'){
console.log("API not supported");
console.log("This API is no longer supported. Use PushIOManager.registerAppForPush() for Android.");
}else{
RCTPushIOManager.registerApp(useLocation,callback);
}
Expand Down

0 comments on commit 5cce59d

Please sign in to comment.