File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ module.exports = {
364364 * @param {strings } key Key of string to override.
365365 */
366366 setStringToKey : function ( string , key ) {
367- Instabug . setString ( string , key ) ;
367+ Instabug . setString ( string , key ) ;
368368 } ,
369369
370370 /**
@@ -620,6 +620,8 @@ module.exports = {
620620 getUserAttribute : function ( key , userAttributeCallback ) {
621621 if ( Platform . OS === 'ios' ) {
622622 return Instabug . getUserAttribute ( key , userAttributeCallback ) ;
623+ } else if ( Platform . OS === 'android' ) {
624+ return Instabug . getUserAttribute ( key ) ;
623625 }
624626 } ,
625627
@@ -643,6 +645,8 @@ module.exports = {
643645 getAllUserAttributes : function ( userAttributesCallback ) {
644646 if ( Platform . OS === 'ios' ) {
645647 return Instabug . getAllUserAttributes ( userAttributesCallback ) ;
648+ } else if ( Platform . OS === 'android' ) {
649+ return Instabug . getAllUserAttributes ( ) ;
646650 }
647651 } ,
648652
You can’t perform that action at this time.
0 commit comments